Fixed potential issue with 2 ci status polling events happening

Merged Phil Hughes requested to merge fix-multiple-ci-status-poll into master

Possible cause for double notifications was if the request was slow & then you changed page whilst this request was happening it would finish on another page & then launch another interval - this stops that issue.

Also passed in the CI status as an option value rather than waiting for the first ajax request to finish