Apache 2.4 compatibility

a2ensite requires .conf extension, and “require all granted” is
directive needed as well
Support both Apache 2.4 and older versions

Per @nigelbabu’s suggestion
Merge pull request #53 from jqnatividad/apache2.4

Apache 2.4 compatibility