Renamed the files
Ported to OpenPGM 5 (previously used version 2)

- Using new BSD-socket based APIs from OpenPGM 5.
- Fixed some compiler warnings.
- Minor general code improvements.
- Updated some of the sample scripts (but not tested).
Merge pull request #2 from superKoder/master

Ported to OpenPGM 5