cleaned up Turk / database related code

1. in index.html, added assignCondition and set up displayHIT,
submitData, submitHIT
2. created assign_subcondition.php
3. in content.js, replaced addTrialContent with displayTrial