Update the naming so that it matches the new naming pattern.
"before" and "after" are always prepended so that we don't run into
problems when a function already includes a "before" or "after".
The PluginManager will run the correct hook even if the capitalization is
wrong ("foo:beforeBar" will be executed as well as "foo:beforebar"). This
way users don't have to deal with the correct capitalization of function names
issue.