search: mustache templates via hgn

* Adds the hogan plugin to require.js (hgn.js).

* Uses some mustache templates from JavaScript code.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>