Added support for foreign function calls in the array language.
Added a Typeable constraint to ForeignFun and removed unnecessary members.
Merge pull request #78 from robeverest/master

An FFI for the array language
update submodules cuda, io.
Added support for foreign scalar functions.