Enhancements and bug fixes to styles_to_db

Replaced occurrences of "on database" with "in database"
As asked in https://github.com/qgis/Quantum-GIS/pull/545#issuecomment-17364816