Undo #407
Implemented upsert.
Update to elasticsearch 0.90.2
Enabled ES_WAIT_ON_MAPPING_CHANGE for travis builds
Fix travis file
Remove space from travis file
Updated upsert for bulk actions.
Updated bulk to support scripts directly.
Make Scripts first class citizens.
AbstractDocument should use setData() to support scripts and documents.
Added more methods to use scripts for updating in bulk.
AutoPopulate is not required for scipts.
Updated tests to work with changes.
Simplify AbstractDocument::create()'s type checking.
Updated and added some more tests.
Formatting.
Formatting.
Update changelog.
Updated type checking for AbstractDocument::create().
Bulk updates also support doc_as_upsert.