Fixed JIRA PUSH-326 : NumberFormatException when duration is not part of the notify.icepush request; added null-checks for the duration

git-svn-id: http://anonsvn.icesoft.org/repo/icepush/trunk/icepush@41506 8668f098-c06c-11db-ba21-f49e70c34f74
ICE-9953 Updated bridge-support code with the fix for endsWith function which makes sure that the pattern searched in the string is actually found in it before testing that its position is at the end.

git-svn-id: http://anonsvn.icesoft.org/repo/icepush/trunk/icepush@41510 8668f098-c06c-11db-ba21-f49e70c34f74