Adding toBool / toBoolean methods and tests

This pull request references issue #185