use the unminified capsule.js when rendering the bundler header
refactor bundler into submodules
bundler test cleanup