Add address subscription service

Add support for subscribing to payments received by standard addresses via websocket.
Add input matching as well as output as @aalness 's suggestion.
Add stricter error reporting in web socket API calls, for example if no valid option is provided when subscribing.
Add function for retrieving outputs matching a transaction's inputs.
What happens when this exception is raised? Does the TCP connection close? What does the browser see?