[CMake] Fix make install for some binaries and new module file.
Add DISABLE_DEPRECATED_METHOD_CHECK around deprecated Entity::ctype in test code.
[autotools] Update file list in cmake/modules/Makefile.am