Add option current_scan_depth to renderers

As suggested in #96. I've not managed to come up with a better name for the option.

This is my first pull request so please tell me if I've missed something.