Minor changes to avoid changing the value of CodeComments.path.

Used a third argument "file" in the call of AddCommentDialog.open() that contains the
filename of the file we are commenting on, so we can still have a path without changing
any of the properties of CodeComments.
Updated the upgrade process

creates the new column and converts the old comments to the new schema.