Added MO object serialization and deserialization.

This adds the ManagedObject POJO to the relevant OpFlex RpcMessage
objects, along with unit tests for them.

This commit also addresses some compiler warnings, and adds back
in the OpflexConnectionService unit tests (added code to select
available server socket within a range).

Change-Id: I1a664fa0aec700554691b7dcc49aa65828721f5c
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
Merge "Added MO object serialization and deserialization."