cmake: Add memory leaks tests

Change-Id: I1a2b53cc09c6be805bfc0081c7c66f1f0be191cf
cmake: Change module installation directory

Change-Id: I8d96a9dc3de5a7980242f0a311e5e253b50a0dcb