Fix up qunit tests.

* Remove $(function()) wrapper. It isn't needed since the JS is added at
  the end of the HTML file.
* Fix a bunch of jshint problems.

Not all the tests were running. In particular, the browserdetect tests
weren't running. They are running now.
[Bug 915686] Make browserdetect.js understand fxos
Add db stuff for versions and platforms.
Remove sourcemap error from jquery.
[Bug 915686] The great showfor rewrite of 2013.

Rewrites showfor to be harder/better/faster/strong. More particularly,
data is pulled from the database instead of a config file, and the logic
is smarter to support more products. Less special cases and less
logic headaches!