added uniform logging system with funcitons in utilities.js, errors now log to an error file
Merge branch 'master' of https://github.com/Sloth6/Beacon