feature(settings): adds setting for default number of items per page

(replaces #7339 -- trying to squeeze this in)

Most queries that default to 10 now use the setting, whose valid range
is, for now, 2 to 5000. In order to keep this simple, queries that
default to 20 items will continue showing at least 20 items; the setting
is used only if it’s greater than 20.

Fixes #2650
![facepalm](https://cloud.githubusercontent.com/assets/861833/5295533/70128dcc-7b99-11e4-946f-109b4879907d.jpg)