Add VCS tag to "maven compatible version" converter

This is basically a database table holding regular expressions to convert tags
into valid version numbers (e.g. "myversion-3_0_4" can be tranformed to "3.0.4").
Fix creating new entities after editing existing ones