Support for programming contests.

Several new options added:
* (User) time limit
* Address space limit
* Output file size limit
* stdin/stdout/stderr redirect
* Output process stats to a file
* Clear the environment to minimize exposure.