Improve CakeRequest::is()

Add ability to do OR and AND operations on multiple types. In the past checking multiple types required multiple method calls, these new changes let the end developer do both types of checks with one method call. Related to [3714](https://cakephp.lighthouseapp.com/projects/42648/tickets/3714)