Cosmetics: rewrite the test to detect factories
functions.py: make it callable to test GetAllContinuousFactories
Return only objects, not names

There is no need to track factory names, it can be retrieved
automatically by GetClassName().
Rewrite functions.py to not rely on OT version number
Rename variables to follow PEP8 guidelines