clean up System.getProperties and related methods

The behavior of Avian's versions of these methods was egregiously
non-standard, and there were problems with the Android implementations
as well.