Check that we are running a recent ES release

Added a constant MIN_VERSION = "1.3.0". Used version_compare() in order to
validate the release and cached the result with a short ttl to avoid hitting
the server every single request.