MUFASA: Galaxy star formation, gas, and metal properties across cosmic time