Base ES query cases

Added support for simple generic ES "match_all" queries and fixed a
case where primitive arrays would fail during column creation.