Refactored to use parseXML.
Parse CDATA correctly. Fixes #1.
Merge branch 'master' into portals

Conflicts:
	app/src/connector.coffee