Correct rendoring and javascript errors for ie8

* Add $(document).ready calls to all javascript files loaded at render explanation found here: http://webforscher.wordpress.com/2010/06/08/taming-ie-8-javascript-download-order/
* Switch navbar to use rails helpers for images
* Add -ms prefix to the signin image style so the image wouldn't repeat over the entire button
* Use native jquery and underscore functions to trim white space and get the index of an item in array because ie8 couldn't render the javascript using more recent syntax
* Correct html markup in javascript templates and in the application layout
* Remove a gem that was no longer being used
* Move awesome_print gem to test group