[bundler] Add `depends` and `vendor` package configuration options.
Move `lib` package into a separate bundle.
Provide package dependences list to client-side resource loader.
Implement dependency loading on client-side resource loader.