setup grunt, make sure tests intern setup follows the one of
other projects, make sure tests run on all platforms
more jshint fixes