Form errors handling

Hi guys,

I added basic validations on the form using `email` field type and passed the errors to the template. It should also catch error if the client side validation didn't work (like the required stuff).

We are using in our app and I thought you might want it too.