Merge branch 'refactor_detention_slip'

fixes #53, fix #56, fix #57, fix #58