Added support for passing an object to .where()

@brianc: This adds a `.where({name: 'brian'})` syntax option.