Merge pull request #17 from rhodgkins/master

XPath queries do not work with namespaces and fixed encoding property
[Issue #17] Changing encoding property to stringEncoding
Updating tests
Minor refactoring
Fixing runtime exception caused by nil namespace prefix member
Minor refactoring
Minor reformatting
Adding xml test file and test cases
Bumping version to 1.1.1