MOBSDK-636 & MOBSDK-640

All sites fix from 1.5.x app has been integrated in the SDK and the site caching mechanism has been refactored.