alter extent of collision detector by layer's buffer-size

Possible solution for https://github.com/mapnik/mapnik/issues/2517.
I don't like to call `max_buffer_size()` four times here. What about setting collision detector in the body of the constructor?