Added parsing code to make PlistParser.parse work in browsers

The API was inconsistent, requiring a string if run in Titanium but a DOMDocument in the browser. Added parsing code to accept a string if in the browser.
Merge pull request #2 from barnabywalters/patch-1

Added parsing code to make PlistParser.parse work in browsers