Python: Fixed build on rhel6.
Core: Fixed offsetof.
Core: removed useless group_id from dnet_ids_init
Core: renamed offsetof to dnet_offsetof.
Merge pull request #241 from shaitan/python

Python: Fixed build on rhel6.