Add support for retrieving `declares/2` and `defines/2` module properties to the `diagrams` tool when using ECLiPSe and SICStus Prolog as the backend Prolog compilers