Removed the `attr_accessible` from the Rails application template

No longer supported by Rails; http://weblog.rubyonrails.org/2012/3/21/strong-parameters/

Also, minor text cleanups.
Added support for "Delete By Query" API

See: http://www.elasticsearch.org/guide/reference/api/delete-by-query/

Closes #786
[ACTIVEMODEL] Use Object#id#to_s in `get_id_from_document`

Again related to Mongoid, see #775.

Closes #775
[#789] Fix the "explain" tests to conform to the new response format
[#789] Fix the mvel expression in `custom_score` query test
[#789] Use the `:refresh` option in document update tests
[#789] Only run percolator tests when the `TRAVIS` environment variable is set

This should be set by Travis automatically [http://about.travis-ci.org/docs/user/ci-environment/#Environment-variables],
to run the tests locally, just set the variable:

    $ TRAVIS=true time bundle exec ruby -I lib:test test/integration/percolator_test.rb
[#872] Avoid calling broken Curl::Easy#http_put until Newrelic fix this
Added the banner about retirement into the README

Closes #882
Related: #881
[DOC] Update links to the new project pages

Closes #881
[ACTIVEMODEL] Added an example of facets in model search to integration test

Related: #879
Skipping model/concerns folder in the import Rake task

Closes #877
Added more errors to the `__host_unreachable_exceptions` list

Closes #871
Fixed possible double require of model classes

When loading environment berfor tire:import:all, it is possible that
models are already loaded when tire tries to load them. This can cause
redefinition of constants and all other kind of havoc.

This fix first tries to constantize the models to see if they are
already loaded before trying to require them.

See issue #744 for discussion.

Closes #869
Changed that `default` properties of Tire::Persistence are evaluated when being casted, not on class load

Closes #864
Add out_of_range? alias for Kaminari support

Kaminari's method is called "out_of_range?", but tire uses "out_of_bounds?". I added the alias to make integration with Kaminari easier.

Closes #855
Added support for bulk update

    # update mapping
    index = Tire::Index.new(Contact.tire.index_name)
    puts index.mapping(
      Contact.tire.document_type,
      properties: {
        updated_at: {
          type: 'date',
          format: 'date_time_no_millis'
        }
      }
    )

    # add data
    Contact.find_in_batches do |batch|
      documents = batch.map do |contact|
        {
          id: contact.id,
          type: Contact.tire.document_type,
          _routing: contact.account_id,
          doc: ContactSearchSerializer.new(contact, only: :updated_at).as_json
        }
      end
      puts index.bulk_update(documents)
    end

Closes #853
Release 0.6.1
[ACTIVEMODEL] Exposed the response from `MyModel#.update_index` as the `response` method on return value

Similarly to what is available in the persistent storage class.

Closes #908
[DOC] Added Google Analytics support via <https://github.com/igrigorik/ga-beacon>