[smart] Refactoring provided_by -> provided_by_xpath and code documentation.
[smart] Manage provide_ret variables
Smartonic returns the value returned by the root provide. We introduce a new (final) step in smart to return this value.