Fix apache state

A few changes to the apache state:

 * Fixed a typo and cleaned up space in example usage.
 * Fixed the name of the state (apache.config vs apache.configfile) in example usage.
 * Eliminated _check_name function, which seems unnecessary (and was incorrectly checking the config instead of the name, anyway).