refactored get_nex_order_ on sections and subsections to use Max instead of count. change ordered_questions to do one joined querry and do the ordering using the db
[sefactor] remove reduntant loops in questionnaire get_all_questions and all_groups. Objects are fetched from the DB
wrap clone in the questionnaire cloner service in a transaction