Ned/whitelistable sandbox

@gwprice  @cpennington Could you review this pull request? 

The random_seed changes are from Brian's regrading branch, I pulled it in to avoid a merge conflict later.