Fix and add a spec for ENV#fetch
Fix ENV#fetch for rasing exceptions from X19

ENV#fetch should raise KeyError instead of IndexError from X19.
Merge pull request #2437 from kachick/fix-env-fetch-exception

ENV#fetch should raise KeyError instead of IndexError from X19