Support "after" handler for forms

Called after all other handlers
Handle encoding of errors better
Compiled versions of client-side lib should not be tracked by git