Fix vcwidgetid

Hi,

I've encountered some problems regarding VCWidget's IDs.

In some project files, no ID is assigned to some widgets, and sometime, an ID can be assigned to several widgets.

Here we make sure that every created widget receives a unique ID, and is correcty added in the virtualconsole's widget map.

Also, IDs appearing more than one time in project files are recreated.