Issue #78: toBoolean(): Treat '1' and '0' as true and false

Also added a note in the README about installing mocha for testing, to help out others who would like to contribute pull requests.