SE-0513: API to get the path to the current executable

This proposal has been returned for revision. Thanks to everyone who participated in the review!