Coherent long-time integration and Bayesian detection with Bernoulli track-before-detect