CDB-1667 All table calls now using table.owner.database_name instead of the virtual attribute .database_name + cleaning of bad style warnings
Merge remote-tracking branch 'origin/CDB-1667' into release/2.11.1

Conflicts:
	app/models/table.rb