fix generating a next_id

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6404 7882d7ee-46e0-0310-a255-a28a61b628e4
Fixed testcase in case of a 1 second difference in the filetime

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6405 7882d7ee-46e0-0310-a255-a28a61b628e4
ported count_find to the postgresql store

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6406 7882d7ee-46e0-0310-a255-a28a61b628e4