update java sample code to use latest java-client
Merge pull request #2490 from Jonahss/update

update java sample code to use latest java-client
Fix defaults for swipe duration
Fix compressXml

The old compressXml did not presist across uiautomator sessions.
By requesting 'DumpWindowHierarchyCompressed' it ensures the result is
always compressed, even if the server had been restarted.

For some reason if compressXml is disabled then the xpath index on Android
will return the wrong result.
Fix double space in log message when not is falsey
Output useful information in logger.info
Allow for encoding of non-ASCII text in Android
update mobile web docs for 1.0
use browserName instead of app
Merge pull request #2501 from bootstraponline/fix_compress_xml

Fix compress xml
Merge pull request #2503 from imurchie/isaac-unicode

Allow for encoding of non-ASCII text in Android
Enable compress xml by default for Android XPath
Merge pull request #2509 from bootstraponline/enable_compress_xml_by_default

Enable compress xml by default for Android XPath
Merge pull request #2491 from imurchie/isaac-gesture-issues

Fix defaults for swipe duration
don't allow webkitremotedebugger connection errors to crash appium
and use regular node-style error handling
Restore API check for setCompressedLayoutHeirarchy
Merge pull request #2514 from bootstraponline/master

Restore API check for setCompressedLayoutHeirarchy
Fix iOS callback problem after finding an element by a wrong id
Update docs for Slate

Appium's slate preprocessing will detect <expand_table> and
expand the table when it's rendered in Slate. By default tables
will not expand.
Merge pull request #2532 from bootstraponline/master_tables

Update docs for Slate