Added validate_config function
Added status validations for rally. Added unit test to test invalid statuses
Removed unused rally_card_type
Resolved merge conflicts
Fixed hp tests. Added back rally_card_type
Added test for invalid card type
pep8 and pyflakes updates
Merge pull request #149 from sdelements/rally_fixes

Rally fixes