Rebase/develop/csrf

PR already in:
 - updating rewrite rules configurator 12f06fef8ce82786c44e9b30647ddc2f4c19b4a4
 - fix travis 1e5a26dca9378dd614742496268a2149df88b5b4
 - adding missed space ab38f88a81267ee9f5d5e8b09909970f2550d3d4
 - updating template 4edd1c4e1681d3ef06559b8c62387240cbc8dcfd

PR already in:
updating full viewer template to support csrf f29d1abe8c24c21dae0bd25f76c5aab6a5f89b00

N/A reseting rendering settings to call post only c76d66fb110e5b9ab1e11379d4df587bd3869d68
N/A copy and past rendering settings to call get on copy and post on past 53de9a40103faef8875cb61c7e54d67fffb17e19

N/A apply owners settings to call post only 8127dd44d9d98af26b0b09430492663dc92c0d48

PR already in:
 - refactoring share templates to remove duplicates f03df415bde540fc3d3087e33ce2e3fbab2f7596
 - fixing comment in share 9a798fe284a90584bb92f2d74830a7421d3f52d5
 - disable group/user menu for public tab 769ad41bfa0a2247e21fbadfc82b1a7180d88ee6
 - fixing experimenter icon in a tree 1482480619d16021b019ca3b681888c3c1d1c8d9
 - fixing bad url 87f08fc91c0d51528cef2574b2b20717a59066fd

replaced by cbc9c37
escaping image and channel name in webgateway ba55e88e6bdc6e00e7cdd5421d601ce559515c60

PR already in:
making QA feedback URL configurable da881207a083827fccb509798bfdd5f1b8378e5f

PR already in:
Handle broken image links in public shares correctly as before #3124  ca589f757c5704a7ae61f8b2e5dc8679d13e8d35

PR already in:
adding deleted objects to the subtree 39f701528fa0fb74aaef9c9abed5d5d806a7426a

N/A escaping image names and description in image viewer  5704cd03b458ebca8a392a577118def62673f525 

-------------

test/integration/test_csrf.py::TestCsrf::test_csrf_middleware_enabled PASSED
test/integration/test_csrf.py::TestCsrf::test_forgot_password PASSED
test/integration/test_csrf.py::TestCsrf::test_add_and_rename_container PASSED
test/integration/test_csrf.py::TestCsrf::test_move_data PASSED
test/integration/test_csrf.py::TestCsrf::test_add_and_remove_comment PASSED
test/integration/test_csrf.py::TestCsrf::test_add_edit_and_remove_tag PASSED
test/integration/test_csrf.py::TestCsrf::test_attach_file PASSED
test/integration/test_csrf.py::TestCsrf::test_paste_move_remove_deletamany_image PASSED
test/integration/test_csrf.py::TestCsrf::test_basket_actions PASSED
test/integration/test_csrf.py::TestCsrf::test_edit_channel_names PASSED
test/integration/test_csrf.py::TestCsrf::test_copy_past_rendering_settings xfail
test/integration/test_csrf.py::TestCsrf::test_reset_rendering_settings xfail
test/integration/test_csrf.py::TestCsrf::test_apply_owners_rendering_settings xfail
test/integration/test_csrf.py::TestCsrf::test_ome_tiff_script PASSED
test/integration/test_csrf.py::TestCsrf::test_script PASSED
test/integration/test_csrf.py::TestCsrf::test_myaccount PASSED
test/integration/test_csrf.py::TestCsrf::test_avatar PASSED
test/integration/test_csrf.py::TestCsrf::test_create_group PASSED
test/integration/test_csrf.py::TestCsrf::test_create_user PASSED
test/integration/test_csrf.py::TestCsrf::test_edit_group PASSED
test/integration/test_csrf.py::TestCsrf::test_edit_user PASSED
test/integration/test_csrf.py::TestCsrf::test_edit_group_by_owner PASSED
test/integration/test_csrf.py::TestCsrf::test_change_password PASSED
test/integration/test_csrf.py::TestCsrf::test_su PASSED

test/integration/test_rendering.py::TestCsrf::test_copy_past_rendering_settings_from_image PASSED
test/integration/test_rendering.py::TestCsrf::test_copy_past_rendering_settings_from_url PASSED