Renamed `main` to `spriteloader`

* Reorganised spec functions.
Added karma-jasmine-jquery