Add a handler shortcut method on XBlock
Move django <-> webob conversion functions to xblock core