escape titles in attributes

My Bones-based theme was breaking whenever it encountered posts that had HTML tags in the titles. Since my site has lots of posts that contain tags like `<em>`, this caused lots of breakage. Wrapping the titles in `esc_attr` (as seen in http://codex.wordpress.org/Data_Validation) fixes this.