added more error pages and links for referendum, ballot, and candidates.
added tests for the new error pages.