MOBI-721 ensure params is either null, "{}" or has valid syntax for mobi.AjaxRequest call

git-svn-id: http://anonsvn.icesoft.org/repo/icemobile/trunk/icemobile@34764 1de00972-ac04-4911-a46b-06793c8d78d9