Function signatures for php 5.2

don't rely on reflecton in php < 5.3
XRef v 1.1, RC #1
fix for pear data dir location
Update of documentation