fixes #8: add Scope.prototype.isUsedName
Merge pull request #9 from michaelficarra/is-used-name

add Scope.prototype.isUsedName