Fix compilation issue where const couldn't be found
Highlight shell variables like sh-mode does
Add a var test in test.es
Add company-mode completion to es-mode for queries