Text this: Detecting Attacks and Estimating States of Power Grids from Partial Observations with Machine Learning