Use elasticsearch.js and update elastic.js

Use the official elasticsearch javascript client along with the updated
version of elastic.js.

Initial conversion and update.
Upgrade to Angular 1.2.16
Added debian build stuff
Merge remote-tracking branch 'mattweber/ejsupgrade'