Elastic rods in life- and material-sciences: A general integrable model