Fix wrong data type in NotifTemplate.pm

Method getPrimaryProperties returns reference to hash not hash.

This bug caused trouble during (runtime) compilation of identity
consolidator. So when someone tries to consolidate identities he obtain
500 internal server error.