Add integer base support to inspect

Option :base for inspect/2 supports :binary, :octal, :decimal, :hex.
Includes tests and documentation. Completes #2583