Update relative path handling

- group entries are relative to public/{js,css,view}/ by default.
- rootFileDirs, staticFileDirs, and baseDir are relative to assets.json file by default.
- If baseDir is used, group entries are relative to it (not it + /{js,css,view})
- Add lost templatePrefix option