fix memory leaks in test
handle invalid bundles
add Repository#unbundleFromStream: child_process.ChildProcess
add Repository#merge(rev, options, callback)
add BundleInstaller
add ApplicationManager#createBundleInstaller(app)
add Router#addRules(!Object.<string, string>)