Add non-String overloades for CordovaPreferences.set()
Update unit tests to not use most deprecated things (e.g. DroidGap)