changes and bug fixes based on Sean feedback
changes and bug fixes based on Sean feedback

cloudant-labs/location-tracker-couchapp,cloudant-labs/location-tracker-couchapp,cloudant-labs/location-tracker-couchapp