Added a --crash flag to the agent.

This will allow us to test crashes in official builds and the whole crash dump pipline.