Add swagger
Example new REST doc format
use restjsdoc to populate swagger
properly wrap arrays for swagger parameter values
add jsdoc for new swagger methods
update swagger spec links
remove `q` alias for query params
make function for unwrapping swagger Lists
remove use of shell from swagger
add descriptions to models and newlines before descriptions
fix copyright years
fix code review issues
code review followup
add more unit tests for swagger
fix code-review issues
swagger followup
fix model recursion
fix code review issues
fix code review issues
fix code review issues