Adding a generic api call to get all locations for any authorized app and user
fixed syntax error in sql statement
added a new api call to return all locations for a given user and all locations if no user is requested
since we are only returning locations the check to strip off the app name is not needed.  It was throwing PHP warning notices as well
modifying the JSON response
Setting up on local environment

made changes to get the api working in local dev environment
upated readme
Merge pull request #1 from rodneyo/generic_api_call_for_locations

Generic api call for locations