Gravar-mail: A Computational Framework for Mechanical Response of Macromolecules: Application to the Salt Concentration Dependence of DNA Bendability