Use lambdas instead of templight_trace::property_writer
Use more lambdas in templight trace code

Replaced:
 - get_in_edges
 - get_out_edges
 - get_target
 - get_source
Remove unused is_memoziation_predicate