Merge branch 'hotfix/str_replace_argument_order_stupidity'
cherry picked opencpu_session commit 178fb0e632e2823d04fbe405d3dd19f044f8efe7
dynamic auto-input fields are now posted one by one without redirect. can hence be used by following fields.
reverse premature merge
missing global
Merge branch 'hotfix/site_fdb'
Merge branch 'hotfix/site_fdb' into develop

Conflicts:
	Model/OpenCPU.php
	Model/RunUnit.php
	Model/Site.php
	webroot/assets/example_surveys/random_items.xlsx
hotfix in live debugging stuff
Merge branch 'hotfix/session_trouble'
Merge branch 'hotfix/session_trouble' into develop
haven't figured out why sometimes items_display was not written to, but this led to a condition in which data could be overwritten
Merge branch 'hotfix/horrible_bug'
Merge branch 'hotfix/horrible_bug' into develop
Merge branch 'master' into develop
crlf crap
remove all or die
Revert "remove all or die"

This reverts commit 03b0201d1ff9314493645589ae91d86f921c49e9.
properly reverse or die
more exceptions. fix error when item value was not set. also impose limits on study settings params
more abstraction for mymysql queries to make model less clumpsy
fetch row