ZoneInfoProvider.getZone(String) throws a ClassCastException in some Android implementations of the String class.

String.equals(SoftReference<?>) throws a ClassCastException. Reordering the code checks first the instanceof case and only then calls the .equals() method with an object of a different type.
Merge branch 'classcastexception' of https://github.com/jperezalv/joda-time into jperezalv-classcastexception
Fixup pull request