Support for %i{} and %I{}

Related: https://github.com/rubinius/rubinius/issues/2641