rename err.name to err.type, still keep err.name around

as in https://github.com/rvagg/node-levelup/issues/179