Improve batch mechanism - 2nd try

Revision History:
1st attempt:
 . Fixed Issue #91 and #95 

2nd attempt:
 . Fixed Issue #94 and #98
 . Provided docs/BATCH.md
Can we change this to http://localhost:4242/obix/batch so that it can be used in the cmake tests?