New User interface for actions on databases and collections' selected actions.

Use the SimpleTable to draw the table for databases' listing. This commit refactors the way the table is drawn and reduces code repetition. A similar strategy will be adopted for the collections' table listing soon.