Merge pull request #762 from bhariharan/unstable

Replace deprecated methods
Test fixes in Salesforce SDK Test for Gradle (back to 100% now)