Issue #2365709 by djdevin: Move quiz attempt layout to database.