add adv. preference for number of menu items displayed at once

See earlier commit: f24f6adee142c088595647d5506737c48892bf38

Forum discussion: http://forums.wesnoth.org/viewtopic.php?f=6&t=40668
change rendering of last page of wmi's, to prevent menu resize

This commit makes the pager just show enough entries from the
previous page to ensure that we have a full page. When the number
of displayed entries is large, if we don't do this then the menu
can resize dramatically which is a bit jarring.
const-correctness fixup (just for clarity)