Start to add code to generate pagination HTML

Not only the functionality should be added on initialization, but also
the HTML elements themselves.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>