Fix for pub entry web links and testing.

1) Pub entry web links added / removed properly now.
2) Removed PEAR files. Uses PEAR as installed on server.
3) Added test file for pub entries.