dynamic version set
reverting bad update
cleaned up code a bit
replaced sorting with static array retrieval.
addded api version reset on logout
Merge pull request #123 from openshift-mobile/119-Dynamic-Selection-of-API-Version

dynamic version set
Fixing issue where cartridge framework is null to resolve #112
added functionailty to fix IOS title bar issue #124
added functionailty to fix IOS title bar issue #124
Added parenthesis as per PR comment for #112
Merge pull request #126 from sabre1041/null-image-framework

Fixing issue where cartridge framework is null to resolve #112
Merge pull request #127 from jyore/master

Fix Issue #124: Looks good to me. I don't have an iOS device though so can't test on an actual device. Merged pull request.