Add r->finfo methods, Support MRB_INT64 and fixed some bugs