streamId for logs is converted to an int, to fix zero padding issues

This fixes log subscriptions.

CJD started zero padding some of the bencode, this isn't an issue for integers but it seems the streamIds are intended as integers encoded into hex, and we're interprenting them as strings. I think the ids are getting inconsistantly zero-padded and a padded string does not equal an unpadding string even though they print the same.
Also, the memory command is gone from cjdns.