Add option for the path of the  configuration tree

All configurations used for tests are in t/ so the tests do not fail because of existing configuration;
Problem: in t/ there is a copy of share/{etc,scr,apps}
Use share/ instead of t/ for config location