FIX for issue 941 updated database schema for submissions and results.

Submissions now have a one to many relationship with results (instead of one to one result and one to one remark result). Implemented methods to retrieve the correct result (remark or original) that are not relying on database ordering or timestamp. Updated blueprints and tests for updated schema."