Increase the notes polling timeout over time
Increase the notes polling timeout over time

A file called notes is loaded every ~15 seconds which checks for
updates to content on the page. This commit increases the polling
timeout over time (15, 30, 60, 120 seconds) and resets
it to 15 seconds if the AJAX call returns new notes

Fixes issue #13300

iiet/iiet-git,t-zuehlsdorff/gitlabhq,ttasanen/gitlabhq,dplarson/gitlabhq,screenpages/gitlabhq,jirutka/gitlabhq,icedwater/gitlabhq,screenpages/gitlabhq,shinexiao/gitlabhq,martijnvermaat/gitlabhq,dreampet/gitlab,shinexiao/gitlabhq,stoplightio/gitlabhq,dplarson/gitlabhq,dreampet/gitlab,daiyu/gitlab-zh,martijnvermaat/gitlabhq,LUMC/gitlabhq,openwide-java/gitlabhq,openwide-java/gitlabhq,stoplightio/gitlabhq,mr-dxdy/gitlabhq,allysonbarros/gitlabhq,axilleas/gitlabhq,SVArago/gitlabhq,htve/GitlabForChinese,martijnvermaat/gitlabhq,allysonbarros/gitlabhq,LUMC/gitlabhq,dwrensha/gitlabhq,t-zuehlsdorff/gitlabhq,iiet/iiet-git,SVArago/gitlabhq,LUMC/gitlabhq,larryli/gitlabhq,larryli/gitlabhq,icedwater/gitlabhq,mr-dxdy/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,Soullivaneuh/gitlabhq,ttasanen/gitlabhq,mmkassem/gitlabhq,darkrasid/gitlabhq,ttasanen/gitlabhq,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,darkrasid/gitlabhq,LUMC/gitlabhq,Soullivaneuh/gitlabhq,martijnvermaat/gitlabhq,dreampet/gitlab,iiet/iiet-git,allysonbarros/gitlabhq,SVArago/gitlabhq,htve/GitlabForChinese,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,ttasanen/gitlabhq,screenpages/gitlabhq,dwrensha/gitlabhq,jirutka/gitlabhq,mr-dxdy/gitlabhq,larryli/gitlabhq,daiyu/gitlab-zh,openwide-java/gitlabhq,darkrasid/gitlabhq,axilleas/gitlabhq,daiyu/gitlab-zh,axilleas/gitlabhq,dwrensha/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,icedwater/gitlabhq,screenpages/gitlabhq,darkrasid/gitlabhq,dreampet/gitlab,Soullivaneuh/gitlabhq,SVArago/gitlabhq,htve/GitlabForChinese,axilleas/gitlabhq,shinexiao/gitlabhq,mmkassem/gitlabhq,htve/GitlabForChinese,icedwater/gitlabhq,mr-dxdy/gitlabhq,openwide-java/gitlabhq,dwrensha/gitlabhq,Soullivaneuh/gitlabhq,dplarson/gitlabhq,stoplightio/gitlabhq,larryli/gitlabhq,daiyu/gitlab-zh,mmkassem/gitlabhq,shinexiao/gitlabhq,allysonbarros/gitlabhq