Creating function getLexiconByIdProject() in lexiconDAO.php
Adapting function checkSynonym() to use getLexiconByIdProject()