add isReservedWordES5 and isReservedWordES6

This PR depends on #3 (and therefore includes those changes). Merge #3 first and this diff will become meaningful.