Add the ability to edit the stage on the database screen.
Fix headings on reports.
Fix for adding new batches.
Fix for report display.
Include PDF library for downloads.
Start rewriting reports page to use Knockout

We need to include the data on the page as JSON anyway for the PDF download, so lets use it for the main display too.
Proper filtering for report blocks.
Hook up undoing and saving for reports.
Remove code from the old way of displaying this page.
Update initial values when saved.