Adding terms module to config.js

The terms module is relatively new and is set to replace pie. It is already in kibana master.

Also makes a small change to the placement of "query" to duplicate what is in kibana master.

See: https://github.com/elasticsearch/kibana/commit/3a06457c5d888551a564c2325ad60ad85a22987f#panels/terms/module.html