Added checkstyle plugin. Moved plugins into pluginManagement section of root module.