Update the OOPHM wire protocol for the following:
 - support future changes such as clients supporting multiple versions of
   the wire protocol simultaneously, switching to alternate transport
   mechanisms such as shared memory, and being able to detect an out-of-date
   hosted.html file for developers running an external server (-noserver)
 - collect additional data for upcoming OOPHM UI changes
   (in particular, the top-level URL and a session key)
 - split plugin initialization from connection to differentiate between
   failures in those steps
 - add tests for wire protocol messages
 - refactor for upcoming HTMLUnit hosted mode integration

Backwards compatibility with v1 plugins is retained by keeping thd old
LoadModule message, defining a new tag for the new LoadModule message,
and checking for v1 clients during the initialization of the protocol.

Patch by: jat
Review by: amitmanjhi


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5911 8db76d5a-ed1c-0410-87a9-c151d255dfc7
10 files changed