[wholeBodyDynamicsTree] load joint list from configuration files

Fix https://github.com/robotology/codyco-superbuild/issues/45