added pages_controller and tests refs #5
refs #5 Adding pages updates structural metadata stream
Merged latest add_pages_controller branch (refs #5)