Custom form: 404 if form does not exist.

Previously it encountered uncaught exception and had 500 error.
Merge pull request #1033 from learning-unlimited/form404

Custom form: 404 if form does not exist.