Use Q.isPromise in tests to determine if a promise is returned
Fix tests so that they run asyncronously
xml2js can't handle malformed XML, so just test on a regular string
Ignore xml attributes and don't put text values in arrays
Add tests to ensure callback functions to #clients() work as expected
Ensure open parameter to #clients() is optional and is passed as a boolean to endpoint
Remove pointless test
Remove some needless logging
Wrap the makeRequest deferred in another and resolve with just the array of clients