Add decomposed endpoint to the architecture.
Add more tests/improve existent ones.
Fix some bugs.
Merge branch 'rewrite' of github.com:bower/bower into rewrite
Also improve codebase.

Conflicts:
	lib/resolve/resolverFactory.js
	lib/util/copy.js
	test/resolve/resolverFactory.js
Changes to new code style.