Restore the functionality for accepting a custom Python formfactor
The SWIG layer to Sample module is extended with a functionality to wrap a custom Python Formfactor object.
The test for custom formfactor (scatter2d/CustomFormFactor.py) is restored.
The Python test script is improved with explanatory comments.