Added tests for handling null, empty string. Added extra condition which fakes an empty DOMDocument if the input is a non-string
Merge branch 'master' of github.com:indieweb/php-mf2