Move env_obsolete() function to config_api.php

Makes more sense to have it here, next to sibling config_obsolete()
function, and keep obsolete.php clean with only the list of configs to
check.
Added phpdoc for env_obsolete()
Use 'info' row in env_obsolete()

To be consistent with how config_obsolete() displays the message.