Initial webapp port.
Added base exception classes.
Base view, layout and controller implementation and dispatch in webapp.
Added code comments.
Cleanup of webapp module.
Remove try..except block from webapp.api.dispatch to prevent other exceptions from hiding.
Fixed inheritance and default parameters to controller and view classes in webapp.