uri fixes, cleanup

 - removed gentoo users fix for db4.8 headers
 - terracoin: uri fixed