PerseusDL/perseids_docs#101 cleaning up dependencies using requirejs and add grunt/bower build scripts. minor changes to api