added support for more condition functions

I added support for some additional condition functions, as well as for the Condition helper for referencing conditions (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#d0e37374). Included is a simple test that validates with 'aws cloudformation validate-template'.