More iOS client stuff, almost working.
Merge branch 'master' of https://github.com/aziel/MobileServicesResourceBroker