Added tests to check app level token with client creds.

USERGRID-1702
Fixes bug

USERGRID-1702
Per Nate's comment, fixed lame /1000 everywhere and added a method.

USERGRID-1702
Merge pull request #150 from apigee/USERGRID-1702

Usergrid 1702