use unique_ptr to hold osrm engine instance

- makes intent more clear that there is a single instance of the engine that is queried.