No need to fully initialize Rails when precompiling assets

This change allows you to run `rake assets:precompile` without configuring a database. This will also be helpful at the packaging step.