Return exit codes

Exit codes are now returned by the `execute()` function of the Regreph
command.

This allows the caller to decide what to do with them. The PHP execution is
not stopped immediately.

Constants for the exit codes are introduced.