Caching fixes and MOBSDK-709

Added back sorting of favourite nodes, cache building delegate is now passed as method parameter rather than property via initialiser to fix memory leak and fixed MOBSDK-709 (also removed debug statements that could reveal API key and secret)