Fixes #3570: Use the cfengine hard classes to decide between the old and...

... new db format (cf_lock verification)

To be merged in 2.4

Ticket: http://www.rudder-project.org/redmine/issues/3570