Removed html pagination implementation
Replaced html implementation of pagination with structure version
Added structure implementation of pagination
Removed the unused Number of Pages field from structure
Finalized pagination template -- page links display correctly and control the appearance