Try to use cStringIO and fallback to StringID if unable to. Should offer
a small performance boost.
More standard unittesting.
Renaming the test folder to be resources.
Removing unneeded testing code from the end of the lib