Add Settings api, and xpathCompression setting for Android

Same as last, time, you need to use my fork of wd.js to run the tests...
yeah I agree we should use isUndefined, but we should probably raise a ticket to convert the whole codebase over :-(