deferred-fix: Fix deferred return value - globaleval returns undefined
Merge pull request #3 from edx-solutions/deferred-fix

deferred-fix: Fix deferred return value - globaleval returns undefined
Added a required header for ajax requests
Add test for X-Requested-With header