if facter can not determine the fqdn, use the hostname fact
The \* needs to be escaped for grep to pass
Merge pull request #309 from hunner/fix_greps

The * needs to be escaped for grep to pass
Merge pull request #308 from jonmosco/fix_servername

if facter can not determine the fqdn, use the hostname fact
mv the httpd service declaration into class apache::service

The service declaration should be in it's own class so that consumers of the
module can both require/depend on `Class['Apache']` and send notifications to
the Apache service.