update sanity test checks for GROMACS 5.x
clean up enhanced sanity check for GROMACS, avoid duplicate code
Merge pull request #471 from boegel/gromacs_5_sanity

update sanity test checks for GROMACS 5.x