Trace function calls in tests and write to file

    Add function_trace to requirements file

    Clean up variable names and comments

    Trace more stuff

    First cut at depth control

    trace more functions and prettify some classes

    Trace all task-level functions and classes