Added ExecuteScalar (issue 22), and optional plan caching