Add IDatabase GetScalar extension method

Last one for now.