Lazy loading and Python 2.6

I noticed that on import the loading took some time. I made changes so that data is loaded lazily as we will use this on web application and package is not used often.

Also we use Python 2.6 so I changed couple things to support it.

At least I was able to pass the tests and it seems works for us now. Hopefully for other too.

Thanks, Ilja