configuration adjustments

- moves away from use_require to a "boot_partial" concept that is more flexible.
- adds js_config that will be passed to javascript as json.
- includes some general cleanup and fixes build.