Support FeinCMS 1.7 extensions - fixes issue #9

Cleaned up some transition code and modified the extensions to be 1.7 compatible.

Please can someone review? 

thanks