Adding a method to apply array options to a query

This brings back the popular array notation for building queries in cakephp. This branch is based on PR https://github.com/cakephp/cakephp/pull/1479 hence it shows more changes that it should