Added helper methods to REST API. Fixes #75.
Added wait & waitall engine API methods. Fixes #76
Refactored JobDef XML parser. For #26.