version info added

Hi,

i added a small function which returns the version number, mainly to be used in the python binding.

Cheers,
tpltnt