Rebase hpcugent/easybuild-framework#522 on top of develop.

Also, drop dependency on vsc-base, as requested in that issue.