Renamed CScriptArray::m_curIndex to m_lastIndex.

Refactored CScriptArray::Insert to avoid repeated checks and bug where last index was incremented even if we didn't append to the end.
Added IMonoArray::Remove.
Fix: CScriptArray::Resize.
Fix: CScriptArray::GetItem index range check.
Fix: CScriptArray(mono::object) ctor did not set m_lastIndex.
Added dynamically resizing mono array.
Added IMonoArray::Clone.
Refactored C# entity links