rename loadmsg/tclfooter easyconfig params, clean up supporting functionality, add unit tests

@pescobar: this fixes the (ghost) remarks I have for https://github.com/hpcugent/easybuild-framework/pull/954, please merge this in such that your PR can be merged in time for EasyBuild v1.14.0