MDL-31830 phpdoc: Cleaned up phpdocs and coding standard