Closures support

Added closures support to hobo->get method, so now users can pass
anonymous functions to global variables and use them for example in
views.