Merge pull request #105 from zelgerj/master

refactored rewrites and accesses for magento.local vhost
added own core functions for putenv / getenv