Refactor discovery code to use promises
includ Math.uuid in node-main.js and added baseclient test
Merge pull request #806 from silverbucket/bug/node-math-uuid

include Math.uuid in node-main.js and added baseclient test
Merge pull request #802 from remotestorage/promises-discover

Refactor discovery code to use promises
Expose WebFinger link properties as remoteStorage.remote.properties (closes #772)
build head