Extends lbryuri.build() and lbryuri.parse() to support special
keys, contentName and channelName. These put the right values in the
"name" and "path" position for both anonymous claims and channel
content claims, which lets us write code that can deal with either type
without special logic.
- Refactoring throughout JSON-RPC, lbrynet and Lighthouse logic
- Move JSON-RPC stuff into its own module
- Add ability to directly call API methods on the lbry and lighthouse
modules, e.g. lbry.file_list({name: 'what'})
- New-style API calls use promises instead of callbacks.
- Converted some lbrynet calls and all Lighthouse calls to use the new
style