some PHPDoc fixes in lib

and removed some unused imports also
Merge pull request #123 from drealecs/doctype_fixes

some PHPDoc fixes in lib