[Code Style] Added Class doc comment and function doc comment

Added Class doc comment and function doc comment in jomsocial3.0.