PMN adds code to support throttle of clients via --response on DB

Now the DB sends a "pause" in millisecond back to client in timing messages.

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
fixes for Winstons observation that you can cripple things by asking a Async client to have a tick of zero!

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
fixed mikerb's bug surround moos_no_comms being flipped

Hi Paul,

Here's a potential gotcha that seems to have been introduced in MOOS V10.

Inside CMOOSApp::Configure()

We now have:

 //are we expected to use MOOS comms?
 m_MissionReader.GetConfigurationParam("UseMOOSComms",m_bUseMOOSComms);
 m_bUseMOOSComms = !m_CommandLineParser.GetFlag("--moos_no_comms");

Whereas before we had:

 //are we expected to use MOOS comms?
 m_MissionReader.GetConfigurationParam("UseMOOSComms",m_bUseMOOSComms);

The problem comes when an app developer sets m_bUseMOOSComms=false in his
constructor. It gets flipped back to true by the absence of "--moos_no_comms" on the command line.

Can (should??) the commandline parser be made to instead take no action
if the command-line switch is absent? Rather than interpreting its absence
as a preference?

cheers,
Mike

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
updating some parsing code in light of early unit tests...

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
Adding GetNumUnsentMessages()

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
Added void CMOOSApp::WaitForEmptyOutbox()

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
ouch! fixed initialisation of a time warp bug that meant DB could run real hot!

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
oops! fixed bug which was introduced during unit tests which mean token-val pairs could not be found at start of string….

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
repeats previous fix but in a nicer way...

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
added deliberately_unreferenced()

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>