Refactoring and additions related to hint experiments

This goes along with "https://github.com/code-dot-org/blockly/pull/767".
should probably use :integer here because it's the version on ActiveRecord's database agnostic list. I think :int is not understood by ActiveRecord gets passed through to mysql.