Added support for setting precision and length in inserted fields

As in this feature request: http://hub.qgis.org/issues/7590