Added functionality for 'rename' and 'delete'.

This commit adds the ability to rename and delete the databases from the
databses listing page.