GRID: More detailed error messages in getIndex
I removed an assert and added an if then plumed_merror

close #39
Merge branch 'v2.0'