add minor changes to dispatch example
add example where a simple function is used as a page handler
add example on Mako templates