jshint whole project, fix hinting errors, add 'use strict', hasOwnProperty(), block braces. Fixes #4.
Better checking for console, small refactor to avoid hoisting and redeclaration. Fixes #5.
Add some Mac OS system files and editor buffers to gitignore.
Add jshintrc and ignore
Fix travis complaint about jshint
Merge pull request #7 from michaelsanford/jshint

Jshint whole project (fix errors), add pretest script.