Added cross domain support
Added xOrigin check
Added transport adapters
Use transport adapter
Shorten trivial conditional
Also check subdomains
Added timeout handler and remove element.
Remove element
Merge pull request #42 from RWOverdijk/hotfix/logout

Hotfix/logout