If you're just submitting a few changes the recommended way is by creating a patch and submitting it through the launchpad bug tracker. Directions here:
http://manual.calibre-ebook.com/deve...to-be-included
If you plan to make a lot of contributions over time then it's easiest to set up your own branch to Calibre. That process is also described in the above link.