progress for long polling service and removed GCM
added files from last push
retrieve json from server and try to send to receivers, but receivers don't get anything
only one intent action
long polling working as intended
added comments, removed unused and unwanted class and fixed the URL issue
the broadcast include location resource feature and params only in the case of an envived_app_update message
before starting the service check if notifications are accepted
removed gcm from the preference name and added a way to toggle notifications on and off
no more stack traces in log for long polling timeout
Checking if the service was stopped before sending the broadcastIntent. If not, the message may be sent to a wrong user when the current one logs out and a new one immediately logs in