Add QueryRestriction class - for tranforming query using restriction LIMIT and OFFSET.
Issue #639.
Merge branch 'master' of git@github.com:mff-uk/intlib.git