IE <= 8: Window will have no hasOwnProperty method, errors out.

When using require and define from the window object (via window.require = mmd.require), self.hasOwnProperty.call will fail in IE before version 9.

Pull request resolves this issue by using Object.prototype.hasOwnProperty.call instead, and adds a jasmine test.