Extracted pagination template out of pagination directive.

* Moved pagination template into the /templates folder under
 pagination.html