Integrate Sheffler's hardware INPUT & OUTPUT class additions.
Input / output class code from Sheffler's simplecoremidi fork @
https://github.com/sheffler/simplecoremidi
commit ID 25c76987f88704f792837281388565c6bbde9cfb

As part of merge:
Updated for PyCapsule interface, with changes for Python3 support to
match newer code on master branch.
Cleaned up debugging, added some error checks.

Conflicts:
	simplecoremidi/_simplecoremidi.c
Edit the comment
sync