Fix ModelTest
Cleanup tests
Reformat coffee script
Move initialization into main.js, use domReady plugin

Before depending on the load order sometimes jquery was not yet
there when it was used (by init.js). Thus the init invocation
was moved into main.js. Though, with manual jquery dependency
just using jquery (like $(document).ready) also caused issues,
so the requireJs domReady plugin is used (see http://requirejs.org/docs/api.html#pageload).

Alternatively the requireJs jquery combination could be used,
but there would be several things to check when using with both
rhino and node (see http://requirejs.org/docs/jquery.html).
Disable browser autocomplete for searchbox