Fixing functions and tests:
- file references changed:
  - getIP.php => wgetip.php
Fixed dogetIP:
- problems with pointers to IP test files
 todo:
    - write test for each component of this code