Raise TypeError when give invalid argument
Implement some methods

MrbContext#stack_index: show current stack index number.
RClass#singleton_class?: is this a singleton class?