Splitting out crud-building functions into hapi-plugin.

jira: QUES-37
Merge pull request #1 from cl-tford/master

Splitting out crud-building functions into hapi-plugin.