Fixed bug with lowercase mode. Updated postgres connector.
Added method to create index on ngram tables.