Added ref (next, prev) attributes to the pagination links

Signed-off-by: Pablo de la Concepción Sanz <pconcepcion@gmail.com>