Added new option for saving styles on db for vector layers with postgres provider
Added feature to save vector layers styles to postgis (when provider is postgres) and load one of them adding a new postgis vector layer
Added feature to save vector layers styles to postgis (when provider is postgre$
Missing qgssavestyletodbdialog ui files
Changed "save to db" provider capability check
Added QMenu on loadStyle button with 2 options (load from filesystem, load from db)
Now you can add ui files
First attempt to create a load style ui
Loading from db now works. Still missing a lot of controls and info about errors
Added controls on style table consistency and named style validity
In QgsVectorLayer::loadNamedStyle changed how to check if the usi refers to db or not
custom CRS save API change
call saveAsUserCRS after each call to createFromProj4
update sip file
Now "Save as Default" button ask where to save the style
Now also "Restore Default Style" works
Now if style the style already exists on the db it will be updated (Same layer, same style name)
Merge branch 'master' of git://github.com/qgis/Quantum-GIS into styles_to_db

Conflicts:
	src/ui/qgsvectorlayerpropertiesbase.ui
Merge branch 'master' of git://github.com/qgis/Quantum-GIS into styles_to_db
[FEATURE] Load and Save SLD & QML styles to DB
Work done for ARPA Piemonte - Dipartimento Tematico Geologia e Dissesto