Merge pull request #138 from pwschmidt/master

MOBSDK-542
Merge pull request #139 from pwschmidt/master

MOBSDK-559/495
Merge pull request #140 from pwschmidt/master

MOBSDK-593/495
MOBSDK-514: Static analyser: Reference-counted object is used after it is released
Merge pull request #141 from mikeh/master

MOBSDK-514