Manually tear down bootstrap modals in tests
Add some required globals to jshintrc
 (moment.js and google analytics)
Fix many jshint errors