Add configure function with tests
The function configure replaces ${foo}
substrings in a templated input string s, and replaces them with the value of the corresponding variables.
The validate step could even be removed, cause prune_rs syntax prevents from using '$','{','}' characters in variable names.
Edited by LEGRAND Simon