refactored the unsubscribeRepo function

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>
DELETE /repos implemented… that splice

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>
clean up and refactoring

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>
implemented gcm and POST /notiications

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>