Add Gruntfile for browser build and testing