fix typo in error.js
Merge pull request #3 from termie/patch-1

fix typo in error.js
Use internalURL for the url endpoint_type, and fallback to endpoint_type_backup which uses publicURL.
Merge pull request #5 from rolandpoulter/fix-endpoint-type

Fix endpoint url type.
Makes passing in IDs easier.
Adds keypairs, plus a hook for modifying response data.
Set the id on the result of keypair create call.
Adds security group and rule management.
Adding image service, tweak for flavor details.
Adds quota usage methods.
Implement server create, instantiate errors properly.
Better error handling, don't die on undfined in urljoin.
Handle security groups in instance create.
Cleans up the data wrapping on request bodies.
Adds simplified "membership" interface for keystone client.
Ensure that no body is sent if the body is empty.
Adds "in_bulk" method, more API methods for nova and glance.
Fixes a problem in the _action code.
Update README.md
Adds volume snapshots.

Also makes "detail" default for server and volume "all" methods.