make beta dash compute module_state_key like legacy dash (LMS-2491)
add failing tests
Merge pull request #3187 from edx/adam/fix-alter-xblock-student-state

Adam/fix alter xblock student state