The UK has to "actively prepare" for the potential of a "wartime scenario" on the "UK homeland" a government review has warned.