Updated Apigee.MobileAnalytics to use URI param

Apigee.MobileAnalytics was looking for 'apiURL' in the options object, while Usergrid.Client was looking for 'URI'. So if a user wanted to override the default prod server, they had to specify two different params to get to the same base url for each object.

I've changed Apigee.MobileAnalytics to look for URI, and appended the trailing slash to all instances where apiURL was being used to form a URL (so that it acts the same as Usergrid.Client). Also removed the trailing slash from the default base url of Apigee.MobileAnalytics.
Merge pull request #11 from amuramoto/patch-7

Updated Apigee.MobileAnalytics to use URI param
Changed my_books to global scope, removed geo query, changed title to be saved in 'name' property

Three changes:

- Moved my_books var to global scope. Current version was throwing an error because creatbooks() could not access the my_books Collection object.

-Removed the geolocation query from my_books instantiation. The rest of the app does not use geo, and for new users, they will get an empty result set because of this, which can create confusion.

-The val of 'title-field' is now saved in 'name' property not 'title' property. The createEntity method relies on the SDK fetch() method, which requires all entities to have a 'name' or 'username' property, which is causing the create to fail in this app.
Update apigee.js

added no-name-specified error check
Changed my_books to global scope, removed geo query

Two changes:

Moved my_books var to global scope. Current version was throwing an error because createbooks() could not access the my_books Collection object.

-Removed the geolocation query from my_books instantiation. The rest of the app does not use geo, and for new users, they will get an empty result set because of this, which can create confusion.
Updated entity.fetch

Added if statement to throw an error if type === undefined. Previously, if no type was passed to createEntity(), the SDK would create an 'undefineds' collection.

Also, type if required for all crud operations, so it makes sense to enforce it in fetch.
Updated createEntity

Two updates:

- Updated the callback function to align with the the callback being returned by fetch(). Previously, only two params were being handled by the callback function but three were being passed by fetch().

- Updated the okToSave var to accept errorMsg === 'cannot fetch entity, no name specified'. This allows createEntity to succeed even if no 'name' property is passed to it. Previously, the fetch() call was blocking creation of entities that did not have a name specified.
Added monitoring client
Update apigee.js
Merge pull request #13 from amuramoto/patch-8

Patch 8
Merge pull request #14 from amuramoto/patch-9

Updates to createEntity and entity.fetch
Merge pull request #15 from amuramoto/patch-10

Added monitoring client
Merge pull request #16 from amuramoto/patch-11

Change Apigee.MobileAnalytics to Apigee.MonitoringClient
Added getMonitoringURL function; updated name from MobileAnalytics to MonitoringClient