More JSHint Updates

* Moved _attachment/.jshint to .jshintrc 
** Renamed to proper filename (my bad) and moved to toplevel with everything else
* Updated everything so controllers are not in the global scope. Register them with app.controller()
* Fixed a few "used before defined" - http://www.jshint.com/docs/#latedef
* Minor other cleanups

http://www.jshint.com/docs/ has all the options jshint supports. You should take a look and see if you want / don't want anything for your style spec.

Looks like travis-ci.org can be used to jshint files on commit as well to help enforce style on pull requests (I can help with that).