Introduce new actions: custom_metadata_manager_init and custom_metadata_manager_admin_init

These will allow for better integration with other plugins. It also removed the need for function_exists checks when registering fields/groups.
Update our code samples to use the new custom_metadata_manager_admin_init hook.

We can also remove the function_exists checks when registering fields/groups.