[twit] Move module from main repo

Still needs 4.0ization, but since it doesn't work anyway it doesn't matter.
I made some tweaks during the move, too, just making some better exceptions.