Issue #53 - rpc: implement listreceivedbyaddress

One of two pull requests (the other one is for btcjson).
Use make() here to to allocate the entire backing array once, rather than letting append keep generating garbage for each reallocation.