[wip] initial version of the resolver factory
Merge branch 'rewrite' of github.com:twitter/bower into rewrite