Fixing template plugin functions

Because of the change in the page parse order, the set_title(), etc
functions were not working. This fixes them by adding an override
function that the plugin now uses. See the comments in the template
library for more details.
Improving Streams Pagination

Adding support for query string based pagination.