Added 'prepublish' target to Gruntfile.js

Builds versioned xml3d.js files