added ignore for .DS_Store files

For Mac users
added function to return DOMDocument as a string

good for printing XML response for debugging
Merge pull request #12 from iToto/master

Added a function to print DOMDocument