added options to JSHint in Gruntfile
tests for prototype properties in functions
more tests added