Update so in production we don't run laravel in debug mode (Production s...

...erver now has some secret keys in it).

This also updates the environment detection code to see that if the url is our production server, it's production. Otherwise it's dev.