Fixes hint errors in tests/ directory

Please copy the file here: https://github.com/mozilla-b2g/gaia/blob/master/shared/test/.jshintrc into /tests/.jshintrc

Let's make it so we don't need to declare these common globals in every file.