ENYO-1341: finish the job by having enyo.log code check to see if console is undefined

Enyo-DCO-1.1-Signed-Off-By: Ben Combee (ben.combee@palm.com)
Merge branch 'master' of https://github.com/enyojs/enyo
Clean up trailing spaces, tab usage, and minor JSHint issues

Enyo-DCO-1.1-Signed-Off-By: Ben Combee (ben.combee@palm.com)