Refactor of simple-workflow model + Using jackson for JSON-serialization
Cleaned up simple workflow model
Fixed simple workflow dependencies
Added test for paging
Merge from upstream