Add manual PageEntity updates EntityManager flushes to support moving blocks

In order to support moving blocks up from one page to a preceding page, we need to manually update the pages one at a time, flushing to the database after each update.  Otherwise Hibernate behaves as described in #39  and the Block is deleted.