Set up testing (grunt, jshint) and Travis CI config

Also changed setupFullscreen() into a variable assignment because
it is re-assigned later.
Merge pull request #3 from Krinkle/setup-test

Set up testing (grunt, jshint) and Travis CI config