Violent criminals have been allowed to roam the country for up to a year after being released by mistake in prison blunders, The Mail on Sunday can reveal.