use elasticsearch repo instead of direct download
fix bug 978768; prefer repos. also fix some RST formatting.
Merge pull request #1928 from phrawzty/bug978768

fix bug 978768