Add optional status parameter to Object#exit

The built in exit() method can take an optional parameter, so add this
to Object#exit. Also call Kernel#exit! with this status, so that the program
exits with the correct status code.