Improved: Use composer --no-dev in production and staging

Now we only install composer --dev dependencies in development and testing
environments and not on production or staging systems.