[ticket/12556] Type Date now works with date type fields

This makes CPF type_date follows type date DB
As the valid year is checked as greater then 1901
novalue and default_value are set to 1900-12-31

There is concern that this will not work with all DBMS
Travis will tell

PHPBB3-12556