Improve cmake script
Install correct targets for core and widgets module and put MessageViewer in a proper namespace