Rearrange EAP setup so that it is more parameterizable for other EAP types
and so that the certificate text can be reused, leading to
easier-to-parse configurations.

BUG=chromium-os:7101, chromium-os:10108, chromium-os:10206
TEST=rerun SecMat/019*, no functional change

Review URL: http://codereview.chromium.org/6030011

Change-Id: I1dd5fca6f98d93657fe58a850bc3d2c2c07aab3b
7 files changed