Support OS 3.1

-ndless_resources can now be used on 3.6 and 3.1
Add modified version of nspire-io from my fork

-Backwards-compatible (API and binary) except for replace-stdio (removed)