Backend updates

Fixed add and edit connection settings urls

Also added a function to core/db.class.php to get the sql settings
stored.