Fix sprite resize ratio

- This was actually a bug that @agmcleod found after looking over the whitespace changes.
- The `undefined` was changed to a string to correct the typeof() statement, but the logic was broken anyway! :)
Fix loadJasmine
Add test task on Gruntfile
Add testSpecs.json file
Add initial travis file
Delete old tests files, except the specs
Typo fix
Add use strict on Gruntfile
Fix instanceOf matcher on SpecHelper to work with jasmine 2.0