use crossystem for developer mode and nonchrome detection

Adds crossystem use for developer mode detection and nonchrome detection.
[This allows systems with missing or damaged TPMs or bad firmware to
 go through recovery as nonchrome systems.]

(testing in progress)
TEST=create a devkeys x86-alex image, boot it and install it in both modes
     same thing for x86-mario
     boot x86-mario, goto a shell, run crossystem mainfw_act to ensure it never says nonchrome
     again for a nonchrome system
BUG=chromium-os:13399,chromium-os:8762

Change-Id: I538fe37fbed29537132da15c844b75ce726634bf

R=gauravsh@chromium.org

Review URL: http://codereview.chromium.org/6724018
1 file changed
tree: e037bcbb5812d088575ad4ca04d9f6a52bb4d17a
  1. inherit-review-settings-ok
  2. init
  3. LICENSE