explicit package creation

It's hard to inject right transport type, default namespace etc.
into implicitly created package.
If it is created explicitly, it helps requirejs implementation.
Merge pull request #608 from herby/explicit-package-creation

explicit package creation