Correct pagination state in all-builds.html and all-tasks.html

The pagination shows now in the correct state for the first table page, with the "Previous" option disabled and page 1 active.