Several database commands support limit and offset parameters

Now it should be easier to display hundreds of results as thy don't have
to be put on one page. For frontend to do: page number and more results
button in browse, mystuff and search pages.
Merge branch 'master' of https://github.com/TKasekamp/Veebirakendus.git