Automate build and test with Grunt; add package.json and .gitignore