Fix LeastUsedDistributor and ensure random distribution for multiple non-fs directories

If we cannot determine available space the fallback scenario is now to use random distribution instead of always using the last directory.

Fixes #2820
Added sort mode to geo distance sorting. Closes #1846
Merge branch 'master' of git://github.com/elasticsearch/elasticsearch