Fixed foreign interface tests
Fixed array getter, added location to messages
Renamed automatic generated interface implementation to _intf.c
Simplified binding of foreign types. Added tests.
Ignoring files
Added foreign_test.h, that implements getters and unifiers of foreign type