A Quickest Detection Framework for Smart Grid