Read assets options changed in environment

This PR will fix https://github.com/rails/rails/issues/10428

The problem was defined rake tasks use references to assets configuration before environment loaded.