Add optional esmvalcore dependency & to_esmvalcore method
#717
+393
−1
to_esmvalcore method
#717