Fix of sga.py for opaque keys and
test.py for the resulting test failures.
Merge pull request #1 from dcadams/dcadams/fix_for_opaque_keys

Fix of xblock for opaque keys