Far from a passing trend, magnesium supports over 300 vital bodily functions—here's what you should know about the mineral