workaround for cffi issue 140. refs #762
make create_modulename private, add test
be less dumb
address review comments
should probably update the test too
Merge pull request #768 from reaperhulk/cffi-modulename-fix

Workaround for cffi issue 140