Refactor supplicant state graph to be generic, add EAP graph

BUG=b:150216835
TEST=Manually tested in browser

Change-Id: I1d0e417f56b93f560ac1ad698769d4fbf8223a47
4 files changed