remove trailing whitespace
specify current domain when retrieving domains
Merge pull request #11 from eileenmcnaughton/master

When using on a multisite the domain code doesn't work