Throw exception on index unpersisted object

In response to - https://github.com/sunspot/sunspot/issues/477

ActiveRecord objects shouldn't be indexed in they aren't persisted.