improved code

- fixed CreditCardValidRule
- added DateRule
Merge remote-tracking branch 'origin/master'

Conflicts:
	src/validation/rules/CreditCardValidRule.class.php