fixing attribute bug in ofXml
got some changes from ofLight rewrite in there
Merge pull request #2459 from joshuajnoble/develop

allowing ofXml get attribute to work with paths && non-paths.