WIP
Some improvements to pagetable.

Added some more database columns to the page table to keep track of how
large allocations are.

Started work on a synchronization manager. Need to hash out the design
for this thing in more detail before writing it.