add global util functions and fix deps in case hooks
make global function builder

can be used to bind functions in templates
like showComplex and others
make global functions build local to utils
fix typo
make fileupload module, add global functions for template hooks
add global functions for template callbacks