chore(*): use COREOS lsb-release variables

use the COREOS_ variables in /etc/lsb-release
feat(image_to_vm): Refactor to make adding/changing vm formats easier.

The old script was heading towards spaghetti code realm. This breaks up
all the image variations such as hybrid MBR, OEM packages, etc into
configuration options and small functions that actually do the work.

All this is in the new vm_image_util.sh library but the command line
parsing and overall procedure remains in image_to_vm.sh

As part of this we gain support for putting some qemu options in a
config file as well as Xen virtual machines using pygrub and pvgrub.

Lots of generally unused options have been removed to simplify things
and keep output file names consistent.
fix(vm_image_util): Remove tab characters.
Merge pull request #54 from philips/use-lsb-coreos

chore(*): use COREOS lsb-release variables
fix(vm_image_util): Remove space before # comment in qemu config.

Last minute bug slipped in because of a line I commented out since the
current coreos kernel doesn't support virtio block devices (that change
coming soon). Qemu doesn't tolerate any spaces before # in comments.
Merge pull request #55 from marineam/vm

feat(image_to_vm): Refactor to make adding/changing vm formats easier.
Merge pull request #56 from polvi/oem-ami

feat(oem-ami): add oem support for amazon ec2
fix(set_lsb_release): Add option for production updates, misc updates.

Add --production_track argument to set_lsb_release and
cros_make_image_bootable to support using the production update service
on developer builds of the 'prod' image. This replaces the previous hack
of setting COREOS_OFFICIAL=1 in the middle of the build.

Since lsb-release doesn't exist prior to the first call to
set_lsb_release switch to sudo_clobber instead of append. That way if it
is called a second time later the contents aren't duplicated.

Write the info to gentoo-release and os-release as well so everything
gets the same information.
Merge pull request #57 from marineam/lsb_release

fix(set_lsb_release): Add option for production updates, misc updates.
fix(set_lsb_release): swap BUILD_ID and VERSION_ID

This is what happens when you run off without finishing testing.
fix(build_image): Fix baselayout install in final images.

The basic system directory structure including the lib symlinks were
fixed for sysroot in the following commits but the image build uses an
entirely different bit of code to do the exact same set of hacks. Port
those changes to the image building code to hopefully make all happy.

2ae0c30f4ec3eb57581494151e4fe7a035af342f
ac931bd088781b226a16f1fffc768edaf0f1ab94
fix(set_lsb_release): Spelling is for suckers
Merge pull request #58 from marineam/baselayout

Baselayout/release file fixes
chore(build_library): remove container library

This is no longer used. It was used to debug early boot problems early
on.
chore(*): remove unused scripts

  bin/cros_update_image.sh
  cros_show_stacks
  image_to_usb.sh
  make_netboot.sh
  mod_image_for_recovery.sh
  update_kernel.sh
fix(*): use /media/state and overlays dir

/mnt/stateful_partition was already a little unruly with
/mnt/stateful_partition/home and /mnt/stateful_partition/var_overlay
serving similar functional purposes.

Then we needed to also add /opt and /srv overlays.

I also have wanted to get rid of the ugly and weird
/mnt/stateful_partition name so lets just have one big move.

/mnt/stateful_partition -> /media/state
/mnt/stateful_partition/var_overlay -> /media/overlays/var
/mnt/stateful_partition/home -> /media/overlays/home

From there we add /media/overlays/srv and /media/overlays/opt
Merge pull request #59 from philips/remove-container-stuff

chore(build_library): remove container library
fix(*): move dev_image to overlays

put the dev_image in overlays/usr/local
fix(build_library): symlnks to stateful

add backward compat symlinks to the stateful directory
Merge pull request #60 from philips/move-stateful-around

Move stateful around