Oranized exception handling in batch client.

Program and input arguments are now given to Batch_Client.run() instead of the constructor.  test-lmc was updated because it uses a batch client for some tests.

Small fixes to lmc exceptions.

Added batch client unit tests.

Added licence and adjusted docstrings in test files.

Added batch documentation for warning message.