Moved creation of indexes for Version model to a railtie (if running Rails 3.x) as it was causing problems during boot-up. This means that you have to call Version.create_indexes for Rails 2.x or non-rails environments.
Ported current_user injection as a default from collectiveidea's audited gem.