add REST documentation for search module
move common models out of module
remove server from REST endpoint keys
remove quotation marks from description to keep parser happy
use enum syntax for model parameters
move REST models to separate file
follow up from review
follow up from review
break search result into constituent models
Merge branch 'restdoc-search' of https://github.com/sathomas/Hilary into restdoc-search
Follow up on search REST documentation