Move plugin version declarations to pluginManagement

+ increment compiler plugin version to 3.1 for faster compile times
+ and enforcer to 1.3.1 - supposed to have some bugs fixed