Added checks for responsiveIframe xdomain settings.

When using xdomain setting, checks to make sure orgin exists ( coming
from a proper webserver ) and ensures that xdomain matches domain.
fixes #7

Cleaned up a bit
Merge pull request #8 from mbseid/master

Fixing a bug that caused domain specific requests to fail.