Do not call ensure_subscribed in DEBUG
Add null handler for elasticsearch.trace
Improve ES querying with an orm-y interface