Treat query string params as a sequence
Irresponsibly large commit

Added cursors for tracking where errors occurred.

Lots of refactoring.
Add Swagger support for path params