Added python_version() function + struct

solves issue #6 
Right, I don't follow it religiously. I love exceptions. But I think their guidelines on includes are pretty sane, and I find it's simpler to have a rule than to always be thinking about it.