Update hook signatures to support names based params as required by recent versions of CiviCRM
This updates the hook definitions to match requirements of current versions of CiviCRM where you should specify the number of params as an array of names.
It drops support for 4.5 too!