minor fixes for Reflection API, changed and updated inline documentation
updated php class documentation