Structural And Excitonic Properties Of Quantum Defect-Tailored Ultrashort Carbon Nanotubes From Density Functional Theory