Restore persistent kwarg for sdb.random methods

Addresses #38
Fix tutorial bugs

Closes #38
Merge pull request #39 from ChrisBeaumont/regressions

Tutorial regression fixes