Use to_timestamp instead of to_date function for PostgreSQL for tasks and tasks_results tables
  - added toDate function to Compatibility
  - modified DAOs in tasks-lib to use the compatibility function
Merge pull request #322 from mvocu/michalv-date-to-timestamp-fix

Use to_timestamp instead of to_date function for PostgreSQL for tasks and tasks_results tables