Fix interface for getIdxById in SlickGrid

It is clear by the name of this method that it takes an id (string) and returns and index (number).
Added test for getIdxById
Changed to explicit ID parameter
Merge pull request #2489 from styfle/patch-6

Fix interface for getIdxById in SlickGrid