improve error handling

do not call super constructor of Error in HttpError
up to 0.0.15

extract saveDocument
up to 0.0.16

optimize selections with lean
post-processors get plain object instead of model
refactoring
up to 0.0.17

remove Seq
up to 0.0.18

extract locateModel to separate method
extract buildConditions to separate method
some fixes