Reworked plugins userguide chapter to be cleaner and include applying plugins with buildscript block

+review REVIEW-5255