Issue 78

* unrelated javadoc updates in metadata parser
* added 'rest' to root error context to make clear which instance of command is used (where multiple exist with same simple name)
* updated error creation on generic failure to include full stack trace as message