Add export of BOXCI_TEST_RESULT for exit code.

I did this so that people could have their after_script commands know if the
build succeeded or failed. This closes #23.