add content-width variable; loop compatibility for h3

$content_width is a global variable that sets the maximum width of
content (such as uploaded images) in your theme. It prevents large
images from overflowing the main content area.  ([as seen
here](http://themeshaper.com/2012/10/27/setting-up-your-theme-functions/))