Fixed sqlite 'single' function to return false when no rows are returned.
Merge remote-tracking branch 'origin/master'