moved player class to its own .js
jshintignore and jshint directives.