Updated for compatibility with Freeform 4.0+

Freeform 4.0 changed database table and column names. This updates the
extension accordingly. Not compatible with earlier Freeform versions.