Add a step that creates a new directory from which to run the awe example code.
And some minor edits.
Bug fixes for resource monitor hooks.

resource_monitor executable was not being copied correctly if the
current directory had a directory called "resource_monitor".