Revert "don't try to instanciate an elasticsearch client"

This reverts commit f44cd2f16b00368960f68db8bc829961340e1550.
Revert "hide search forms"

This reverts commit 1d797fdd0e5f54a14b2537b417b160f004c4dc05.
Merge branch 'master' into search

* master: (257 commits)
  don't show challenge button on player page when they're playing
  automatically decline challenges when playing
  protect AI rating against engine users
  fuck you, firefox.
  clear websocket handlers on close
  try different SVG background style for opera support
  share puzzle
  improve analyse mode FEN and PGN
  improve board editor copyable url and fen string
  game api shouldn't return in progress games
  remove single analysis API call
  lt "lietuvių kalba" translation #7609. Author: KissMeHarder.
  et "eesti keel" translation #7608. Author: luuletaja.
  ar "العربية" translation #7604. Author: amayem.
  pl "polski" translation #7603. Author: mietk. added translations for the puzzle section
  ca "Català, valencià" translation #7602. Author: Vitus.
  nl "Nederlands" translation #7597. Author: Awkwarada. A few grammatical changes
  fi "suomen kieli" translation #7594. Author: JulianGoater.
  mn "монгол" translation #7589. Author: odko8893.
  report notification icon
  ...
new forum search complete
more iptables doc
localhost iptables
lower evaluation threshold to 1600
re-evaluate once a week
optimize security perf
remove unused functions
cache active players longer
optimize all-time active players query
auto-eval by progress
auto-mark on auto-eval
Merge branch 'master' into search

* master:
  auto-mark on auto-eval
  auto-eval by progress
  optimize all-time active players query
  cache active players longer
  remove unused functions
  optimize security perf
  re-evaluate once a week
  lower evaluation threshold to 1600
  localhost iptables
  more iptables doc
  use 9 ports for websocket connections, and forward them to nginx
  connect to websocket through a list of ports
  hu "Magyar" translation #7618. Author: vbajnok.
  bg "български език" translation #7616. Author: bohemond_1.
  fa "فارسی" translation #7614. Author: babak500.
  it "Italiano" translation #7613. Author: iamdudum.
team search
game search engine