added gcm messages support.
gcm tests.
comments.
json response.
code comments.
gcm branch merge.