add sanitize helper method (decodes utf-8 at the moment)
allow router to (manually) paginate results
add changes from master