Do not call preventDefault on right and middle-click/Ctrl+click.

This should fix the middle click popup blocker issue on Firefox.
Upgraded rails to 4.0.4
Use sass-rails 4.0.2
Poll - Spanish Translation
Adding foreman gem to development group
Corrections to JSDoc
Remove trailing commas, add trailing semicolons
Simplify return statements
Remove two noop backslashes in regexes
Use require: false for foreman gem
Remove unused variables
Fix some bad HTML
Fix inefficent jQuery usage

Some jQueries can be cached and reused. This commit does that.
Fix this/self usage warning

To clarify the intent of using 'this' inside the closure, it is first assigned to a variable.
Move badges admin tab to after users, show only if enabled.
Badge creation UI improvements.
Merge pull request #2146 from vikhyat/badge-system

Badge creation UI improvements
Route `serialize` hook argument is the model, not params.
Merge pull request #2147 from vikhyat/serialize-params

Route `serialize` hook argument is the model, not params
removing border from topic list, making category sizes consistent