Replace CustomEffect callback interface with EffectCallback callback function

--HG--
extra : rebase_source : 99264f021793765c908e57c523604cd7d286e8d8
Shuffled changelog to match order of the spec