Added methods 'workflow_trg' to object and record classes

This allows to simpify triggering workflow signals on ojects.
Little bit refactored.