added environment.php
added environment.php to .gitignore.
added environment function to bootstrap/start.php