Add supervision tree diagram
fix types so that code dialyzes
Merge branch 'master' of github.com:dieswaytoofast/erlasticsearch