Allow for multiple notifications in Android
This allows for multiple notifications to be displayed on Android.  Simply add data with key "notId" and an integer value when sending via GCM.  Differentiate between different notifications by setting different notIds.  Defaults to 0 if not key supplied.
improved module condition - issue #87
Mark PushHandlerActivity as exported (avoids security exception on
Intent dispatch)
Added amazon-fireos platform.
Added support for defaults.
Updated readme file with Fire OS details.

Added server script and readme for Amazon Device Messaging.
Fixed couple of issues - 1. permission denied when launching the app from notification. 2. Message is not downloaded when resumed after hitting hoem button.
Config options are persisted now. When app is forced stopped, we read config options from sharedPreferences.
Also, fixes error message not being shown properly.
Update error message for Otter1 where ADM is not supported

JIRA: https://issues.labcollab.net/browse/ATLS-1064

cr https://cr.amazon.com/r/2292352/
HTML decoding the message before adding it to notification.
Updated event names for the callback so existing sample code works with both android and amazon-fireos
Added amazon-fireos platform.
Updated readme file with Fire OS details.

Added server script and readme for Amazon Device Messaging.
Fixed couple of issues - 1. permission denied when launching the app from notification. 2. Message is not downloaded when resumed after hitting hoem button.
Config options are persisted now. When app is forced stopped, we read config options from sharedPreferences.
Also, fixes error message not being shown properly.
Update error message for Otter1 where ADM is not supported

JIRA: https://issues.labcollab.net/browse/ATLS-1064

cr https://cr.amazon.com/r/2292352/
HTML decoding the message before adding it to notification.
Updated event names for the callback so existing sample code works with both android and amazon-fireos
typo
Take deserialization outside the methods as it can be reused.

Adding TryCast method improves readability and decreases the code nesting.