fixed assignment to global
all to lowercase
updated readme
works with shims from r.js, resolved issue with not escaping name for define, fixes #2, fixes #1
resolving arguments in the same way as introduced variable