Take a look at the `quoted` function defined in `easybuild/framework/easyconfig.py`.

I think we need to move that somewhere more generic, e.g. in `easybuild/tools/utilities.py` or something like that.

Other stuff could be moved there as well, e.g. the function `any` in `easybuild/main.py` (which is there because `any` is not available yet in Python 2.4).

Could you look into this? If not, I can, just let me know.