FIX for issue 941 updated database schema for submissions and results. Helper methods implemented to retrieve appropriate result.
Typo fix in simulator.rake file
code review fixes - improved query, removed debugger statement, removed redundant result save
Merge pull request #1026 from akwok18/issue-941

FIX for issue 941 updated database schema for submissions and results.
I'm going to merge this one so that work can continue on this area.  There is lots of active development on this part of the code right now so hopeful any issues with it will appear soon.