LHC Injectors Upgrade, Technical Design Report, Vol. II: Ions