finished fixing and adding the error counts and rest calls for the error pages.
Merge branch 'dev' of https://github.com/votinginfoproject/Metis into dev