Catch reserved words in ES3 mode.

Fix for #1134

Modified behavior of isReserved function to catch using reserved words as properties in ES3 mode. eg. the following code will generate a warning:
```
var obj = { class: 'foo' };
```
```
var obj = {};
obj.protected = 1;
```