replace dashes to underscores in rc.conf keys (based on freebsd rc.d filenames)

When using the service module, the rc.conf key should have its dashes replaced by underscores.

For example the service /usr/local/etc/rc.d/php-fpm should be enabled by placing php_fpm_enable="YES" in /etc/rc.conf