Accept integer looking strings for array indexes

More helpful error message

One repaired error message

Don't accept undefined as item for  whitelistGetter
Merge pull request #184 from graphicore/ad-hoc-fixes

Ad hoc fixes