Use elgg_get_config() instead of the $CONFIG variable.

In Elgg 1.9 $CONFIG variable isn't automatically available for actions anymore so use elgg_get_config() instead.
Merge pull request #45 from juho-jaakkola/actions

Use elgg_get_config() instead of the $CONFIG variable.