fixing stop session handling on server standalone and moving wait utilities to client library.
 Merge branch 'master' of https://github.com/selendroid/selendroid