[bug 1039523] Infrastructure for instant search

This does several things:
- Adds nunjucks and grunt to NPM dependencies
- Adds a `Gruntfile` to create grunt tasks to make development easier
- Adds a new manager command to precompile nunjucks templates
- Updates travis and deploy scripts to precompile nunjucks templates
- Updates the search view to return more consistent data in JSON format

r?
I just realized that I don't see this directory or any templates in the PR. Is that because this is just an infrastructure bug, and so there shouldn't be any templates?