Twenty miles east of London, one forgotten port community is on the frontline of a global upheaval. Tilbury's contested history is a window onto our fast-changing political landscape - in Britain, and beyond