Adds const specifier to isSmallInteger and TObject::cast<T>()

Issue: #27
Stub implementation of Array>>sort: as native method

Issue: #37