Sequence pages
Dont attempt to encode hocr if hocr failed.
 not defined (copy-paste error)
Truncate long page titles, in the grid display
Allow pages to be delete, missing include.
Respect the XACML policy when generating the JP2 url for the viewer
Get more error information from Tesseract. Updated Documentation.

Also prevented calls to delete tesseract output files when tesseract
fails.
Convert HTML 4.0 to XML before converting to XHTML

The previous method of HTML 4.0 to XHTML didn't handle unclosed
tags like 'meta'.

Also a fix for deleting the correct files on ingest.
Fix the deleting the entire book.
Handle empty batches.

Previously batch operations on books without pages would have failed.
Merge pull request #5 from nigelgbanks/7.x-fix-bugs

7.x bug fixes