Merge pull request #8 from stevenerat/master

Adding qUnit support
remove console.log messages and fix null/undefined minor issue
Merge pull request #1 from dschaffe/master

Merging Dan's HEAD into origin/master