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.
Merge pull request #1 from proimage/master

Updated for compatibility with Freeform 4.0+

NOTE: Freeform < 4.0 no longer supported.