Escape single-quotes in test-supplied strings.
Merge pull request #280 from iamleeg/escape-quotes

Escape single-quotes in test-supplied strings.
 adding a /wd/hub/manage/stopGracefully to stop the server after all tests are finished
server shuts down and triggers hooks to be implemented for the hub to know about it.
 some maven hell to reduce the size of the standalone jar after adding a dependency to selenium
refactoring the selfregistering ios node and adding teardown at the hub level
adding a timeout on the server side for sessions. Sessions are automatically closed after 60 sec now.
 adding a timeout checking the time between commands + refactoring the logic around a session.stop() call
 stop while request is executed works but returns the wronf exception
 timeout between session neraly done.
cleaning up tests
fixing tests
refactoring crash detection to use the new sessionMonitor logic
updating submodule
got crarried away, too much deleted
 adding a timeout for the entire session.
using the configuration for the session start rather than an hardcoded value
cleaning up
maven cleanup
upgrading libimobile xrapper to get the new maven repo for imaging.
updating the standalone creation to add commit id
fixing test using hardcoded value instead of variable