IX_PageIndexHeader->IX_PageIndexFooter, and making it inherit from CorePageIndexFooter

Pulling out some functionality into KeyValueData, init and comparasions.
Adding helper function getIXPageIndexFooter so you don't have to pass in
size every time. Removing unneeded writePageIndexFooter, since we were
already pointer directly to the pageBuffer's memory.