MOBSDK-764, MOBSDK-765 & MOBSDK-687: Fixed crashes coming from the SDK
Merge pull request #322 from gavincornwell/1.4-dev

MOBSDK-764, MOBSDK-765 & MOBSDK-687: Fixed crashes coming from the SDK