Convert form errors to dev codes (bug 887471)

Incremental start in using error codes. Example:
![screen shot 2013-08-30 at 2 35 31 pm](https://f.cloud.github.com/assets/55398/1060467/bcfd1ce0-11b1-11e3-86bf-7eb1c086892c.png)