feature/formsresource

reworked `formsresource` and added unit test cases.
this endpoint now simply facilitates the creation of xform and `rosafactory` hash records.
Same comment about reducing nesting by returning earlier as in #33.