Clean up test and put them all in javascript files

I made a lot of changes in this pull request, many of them are just small increment changes, so it is not that overwhelming as it may seem.

I have moved all the test to javascript files and then included them in a index.html file.
I have done this so it is much easier to test in real browsers, so you do not have to type in all the different files. 
QUnit groups them in modules which can be access at the upper right corner.
It is also possible to run only specefic modules, but using url parameters like: 
http://localhost:9000/tests/?module=Events

![image](https://f.cloud.github.com/assets/1126497/1832143/45b28918-73a9-11e3-8141-f4dd801c1746.png)


I did also break out the 2D test module, which had become large enough to be in its own file.

Now the test can also easily be run without using any compatilitets settings by using harpjs (harpjs.com);
First install harp.js, `npm install harp -g` and then in the crafty repo run the following command, `harp server`.
Then navigate to http://localhost:9000/tests/ when you have run `grunt check` first to generate crafty.js file first.

I have also made so that every module run `Crafty('*').destroy();` after every test, so the person who is writing test do not need to remember to clean up.

I also made `grunt check` run on the test to ensure quality, and also corrected all the errors that did came up.