Tally trigger update

Hey, @shenqicang.  This PR should help you along with the mit-crpg PR.  I've updated the tests, made some changes to account for recent mit-crpg pulls, and made some style changes to better match the OpenMC style guide.