Lint and Beautify

I'm looking at adding some features (external metadata caching, better diagnosis tools for failed builds, etc) that would greatly benefit from a "cleaner" slate to build off of. Any stylistic changes beyond linting were made as minimal as possible, with a prejudice toward readability. Some of the lint errors I fixed were so gnarly, I'm convinced `yuidoc` only worked by the sheer force of @davglass's will.

The diffs herein would really benefit from adding the `w=1` querystring to the Github URL.

This pull is related, but not dependent on, #206. It should merge cleanly without rebasing.