Added synchronization around copying system properties since they are a singleton,

fix for [MRRESOURCES-65] and similar problem in assembly
MNG-5655 deduplicate WeakMojoExecutionListener instances

Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>