OGR access methods, ID counter saving and separation of classes

This branch has three new features:

Transparent support for compressed OGR files.

Saving and reloading of elementIdCounter to / from a file.

Moving class definitions to a separate file geom.py, so that they can be used in translation functions. Includes some necessary refactoring, such as removing global variables.