Removed duplicate logic from github hook and index that were dynamically...

... loading js modules within the validators and handlers directory. Put this logic into a new general utilities module.