First-Principles Investigation of Lithium Polysulfide Structure and Behavior in Solution