Update to allow boolean and numeric attributes
fix for checking choice array correctly.
update tests and add new tests for limiting attribute types
Merge pull request #1245 from slantview/CHEF-4075

Update to allow boolean and numeric attributes