Support Python 3k

This is attempt to support Python 3k in biggles (see #42). Note that the branch is **not ready to be merged**. Although the code in this branch compiles, it still segfaults at runtime. The purpose of this pull request is easy the code review.
The code segfaults here.