Add support for memory limiting

This change enables the user to set a memory limit at which the
benchmark is stopped. The limit is specified in megabytes as the first
parameter to the benchmark executable. The documentation has been
updated accordingly.
Fix a typo in the out-of-memory error message
Prepare for 0.3.0 release