Fix bug in ping-oml2 when using --oml-noop

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
Cleanup command line parsing

* Separate messages about missing appName and domain
* Exit early and explicitely on --oml-noop
* Reindent

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
Generalise ping-oml2 for easier porting

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
Better exception/exit handling in ping-oml2

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>