The problem is not imovie, the problem is youtube - it compresses the mess out of your uploads, but if you are viewing the video on youtube, below the video is a link to view the same video in a higher quality clip and it is better - but to be honest I would stay clear of youtube and use one of the rival services eg vimeo