fix bugs in safeContextKeyword

Fix two bugs
* ```var foo;``` throws exception
* ```boo.bar = this``` should be passed as valid code