add isReservedWordES5 and isReservedWordES6

This exposes the spec concept of ReservedWord, detailed in ES5 section 7.6.1 and current ES6 draft (revision 25) section 11.6.2.