some cleanups to the view handler callbacks

Mostly reformatting to help read and scan more easily.
add `prepend_*` callback methods

These do just what they say - prepend blocks onto the callbacks
instead of appending like the normal ones do.
Merge pull request #47 from redding/kr-prepend

add `prepend_*` callback methods