Made setValue in Date input more robust

Integers in Date class weren't identified.
Template and view changes
Changed Value in Database to return NULL if empty
Added selectAsCSV method
Upped core version
Merge branch 'master' of github.com:AppStateESS/phpwebsite