I machine quilt them on the back and machine stitch to the front using a blanket stitch. I use Elmers glue on the mitres, just a tiny dab and heat set, it won't gum up your needle and sews through very easily.
http://www.quiltingboard.com/t-29275-1.htm