[ticket/11805] Allow specifying the page in the route for pagination

Instead of "app.php?controller=news&start=10" authors might prefer having
the pagination in the route. So the sample link from above would be the
same as "app.php?controller=news/page/2". With this patch that is easily
possible. What you do is, you specify the $base_url and $start_name as follows:

	$base_url = $controller_helper->url('news/page/%d');
	$start_name = '/page/%d'; // Part of the url that will be removed
				  // for page 1

Now this will generate:
	"news"		for start = 0
		"news/page/1" will work aswell, but will not be created
	"news/page/2"	for start = 10

PHPBB3-11805
[ticket/11805] Fix "jump to page" feature for pagination in routes

PHPBB3-11805
[ticket/11805] Do not generate the same link twice

There is no need to generate the prev/next links twice

PHPBB3-11805
[ticket/11805] Add unit tests for pagination

PHPBB3-11805
[ticket/11805] Rename test to match the function name

PHPBB3-11805
[ticket/11805] Move page-url generating code into a new function

PHPBB3-11805
Merge pull request #1673 from nickvergessen/ticket/11805

[ticket/11805] Allow specifying the page in the route for pagination