Fix: Agenda and Banks module were not working with multicompany module

Multicompany module has a feature that allows information sharing across diferent entities. Because agenda module does not set the element and share variables, the information was not shared event if it was configured to do it.

Also, the banks module was not getting the element name if it was not set. But the module itself looks for the table name, so this could be the fix.