Added debug module.
Added debug module to loaded js files
replaced some occurances of console.log with Debug.log
Merge branch 'master' into debug
Merge pull request #22 from ifiske/debug

Debug