Shotgun Status replication for entity

Shotgun execute action to replicate a production and direction status for a entity.
The script can replicate status for entities: Task, Version and Published files.

In case the selected entity is a task, the replication must be done the most advanced status found in all version and published files for that task.
For Version and Published files the last version published must be selected in order to execute the status replication, no replication is done if a lower version number is selected than the latest.

The status replication, enssures that only one version number is registered as Aproved or complete, when several versions numbers for secondary outputs are in aproved status, the latest version number is the top and only version to be aproved, the other version numbers must be changed to require fixes.