if available, use manifest.mount to mount modules
add beginnings of a role module

- add grunt tasks for javascript
make modules more generic