Finalize analysis and profiling implementation

Generate the piece that should be added into the SystemTap script for
each probe that we are interested in.
Translate each line of the generated trace file to an appropriate
message that is inserted into Percept DB.
Fix bugs here and there.