pagination: add offset and limit to response
fix parameter handling for other methods than GET/POST
Merge branch 'master' of github.com:studip/studip-rest.ip into studip-2.2