let set_hint return the test cases passed status
return test cases from set_hints for other parts to use
change set_hints to return test cases
Merge pull request #241 from wangqiang1208/bugfixing/mission-hints-for-private-test

Refactor submit_code action to reduce code redundancy