Fix custom workflow calls

Changed RestController:updateDocumentAction to pass in the $subject variable to create PHP's RestService, so that it may act upon custom workflows.
Merge pull request #129 from UFTimmy/patch-1

Fix custom workflow calls