add promises support
add repos
fixed Repository#get
Automatically rewritten for npm.