Bounding box calculations fixed, remember that order is relevant

Bounding box calculation is wrong (in elasticsearch for sure, haven't checked others).
We cannot assume that calculating minimal and maximal longitudes is relevant. If someone searches and "crosses" International Line Date we start to query not for he wanted, but opposite.
Therefore order in which corner points are given matters.