Fix for parseFromString throwing error when given plain text to parse

This pull request resolves the following issue: https://github.com/jindw/xmldom/issues/69