Simplify the funcs function, allow functions to be registered for base
Merge branch 'master' of https://github.com/urandom/webfw