A couple of missing require in Draft controller...

Signed-off-by: emanuele <emanuele45@gmail.com>
Passed $filter to numErrors and restored correct pagination of filtered errors

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #577 from emanuele45/error_pages

Error pages