EZP-22577: Implemented MapLocationDistance::createFromQueryBuilder()

> https://jira.ez.no/browse/EZP-22577
> Required by https://github.com/ezsystems/QueryBuilderBundle.

Uses an SplStack so that parameters can be created sequentially (feature of the query builder). Comments welcome :-)