added eventDispatcher, debounce, arrayUtil, namespace and unit tests

added general util libs and unit test