Workflows consolidated fixes classifier

Rebased pull request from @GiorgosPa

To follow PEP257 (and adding info about usage):
```
Pass properties to inner function.

Used by ``workflows`` tasks to make function closures "inherit" the same properties
as the parent function in order to properly display it in the Holding Pen interface.

This function can be used as decorator to copy the properties (docstring, name etc.) to
the inner function when creating closures.

.. code-block:: python

    @pass_properties_to_closure
    def foo(a):
        """Some docs.""""
        def _foo(b, c):
            return a + b + c
        return _foo

Now `_foo` will have the name `foo` and same docs.
```