CORE-5798 converted to using elasticsearch 1.1

A few bugs related to removed items by UUID were fixed.