Resolves: #i121492# Base can not filter by dates

Patch by: hanya
Fixed date filter problems in table view. Now processes old style date format
and "normal" for database as expected.

(cherry picked from commit 79ff7fc76c74a012933230d6f3c37977eccc6398)

Conflicts:
	dbaccess/source/core/api/SingleSelectQueryComposer.cxx

Change-Id: I2ae1b50b9e85ff2c543aaea90894a7edd5bc7524
WaE: -Wodr, two different ScVisAreaChanged classes

Change-Id: I036632dcc7a91eb43aac2bdc2dee7e3355227f24