r.js namespace support

Fixes https://github.com/23/resumable.js/issues/132
Merge pull request #133 from Bantam/patch-1

r.js namespace support