nitg: implements `NativeArray::length`

Signed-off-by: Jean Privat <jean@pryen.org>
niti: implements `NativeArray::length`

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add test_native_array.nit

Signed-off-by: Jean Privat <jean@pryen.org>