renumbered tests for activity_definition
made renumber.sh also output a script to undo the changes; fixed argument bug; made it output absolute paths