Bitfield optimization stuff

Reopening this from another branch so I can work from pristine master etc.   See https://github.com/cffi/cffi/pull/4 for prior commentary.