move some old logging code into Buffer.prototype.inspect, add support+tests for INSPECT_MAX_BYTES