Britain has invaded all but 22 countries in the world in its long and colourful history, new research has found.