added tests for db.use()
detect if in browser or nodejs
clone db._server
check if path.base & path.name exists before assignment, fixes #21, #22
removed 'new' since arango.Connection() is a factory method
tests for inheriting server credentials & headers
refactored xhr
cleaned up
bumped version