removed dead function
updated tests
updated spacing to match node.js
Merge branch 'master' of github.com:apigee/usergrid-javascript-sdk

Conflicts:
	usergrid.js