filter unqiue easyconfigs

- fix issue https://github.com/hpcugent/easybuild-framework/issues/485
- code cleanup