Update MontyEncoder to store version information
Update MontyEncoder to store version information

This should be fairly robust, importlib is only available in 2.7+ and 3.1+ so have included a fall-back just in case. The fallback behavior if version cannot be determined is to set `@version` to `None`.
gmatteo/monty,materialsvirtuallab/monty,davidwaroquiers/monty,gmatteo/monty,materialsvirtuallab/monty,davidwaroquiers/monty