moved code from easyconfig to easyblock for totalview

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>