Reorganised client code to use require.js

Add a grunt based build file for production use