Fix constraints on 'done' routes

For some reason rails doesn't apply constraints on glob matches properly
but does apply them if they's simply specified as the parameter name.
https://github.com/rails/rails/issues/7924
Revert "Move test for unrecognised format handling to integration suite"

This reverts commit 0ce59bd10e2827760088443875dfc8d040225a96.
Apply block_empty_format before_filter to correct actions