EIP: Revert codes

This is an EIP specification for revert reasons that can be captured in the API. It is a light implementation than https://github.com/ethereum/EIPs/issues/838#issuecomment-379238333

Motivation

great EIP.
Any open question to discuss here?