Implement tryOneRow and tryScalar.

Fixes issue #3
Refactor database._selectOneRow
Tweak _selectOneRow error messages
Add supporting test specs for tryOneRow and tryScalar
Merge branch 'issue-3'