LSTM for partial observations of chaotic dynamical systems: state reconstruction, prediction and stability analysis