Correct rendoring and javascript errors for ie8

* 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
* 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
* 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/
* 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

* https://trello.com/c/KH8d4pLx
* https://trello.com/c/3Jid6l9R
* https://trello.com/c/ZdyjqddX