Merge pull request #756 from FranciscoBorges/smallFixes

Small fixes that accumulated while revising paging locks
HORNETQ-1102 Take the locks in the right order.
Move Journal Record IDs constants into its own class.