enhance generic easyblock for installing RPMs

borrowed from #321, which is not fully eligible for merging yet