AOSP-ize device tree; Remove CM-related bits.
Pick mkimage from PATH or print error
Workaround missing OPTIONS.backuptool in AOSP/4.4
Add board name in kernel command line arguments
Set androidboot.selinux=permissive in kernel command line

The init system in Android 4.4 will try to enable SELinux in enforcing mode
by default. Passing "android.selinux=permissive" in the kernel command line
avoids this. The Nook Color builds have been traditionally done without
SELinux, so this is needed for proper booting.
Add recovery graphic resources

Ideally, it should be possible to reuse generic resources from elsewhere.
For the moment this prevents the build to fail prematurely.
Add network location packages

Change-Id: I487d82a360e41600230c35e01393aff5b16adc28

Conflicts:
	encore.mk
Remove the Settings and Trebuchet overlay XMLs

Trebuchet is not available in AOSP, and the values overriden for Settings
are CM-specific as well. There is no use in keeping those files around.
Include embedded Superuser and busybox
Disable OpenGL rendering
Show rotation lock in quick settings panel
Ensure /rom is mounted by adding "wait" flag

Partition /rom needs to be mounted for the store-mac-addr.sh script to work
properly.
Manually mount /rom in store-mac-addr.sh if needed

Ensure that /rom is mounted before trying to read from it. This is an ugly
hack, but gets the job done and avoids having the system to boot without
Wi-Fi in certain circumstances.
Set EXTERNAL_STORAGE to use extra eMMC partition

Nook Colors have an internal eMMC partition that can be used as an SD card
of sorts. By default the space sits there seldom used. Provided that some
people may not have (or want) a micro SD card, it is reasonable to use it
as such.

Note that CM has a patch for vold that allows setting the property
sys.vold.switchexternal to 1, and have this automatically done.
Add missing e2fsck to PRODUCT_PACKAGES

The system will try to scan file systems for errors using e2fsck, but it
will fail due to a missing executable. Adding this solves the issue.
Add a number of config options to framework overlay
Do not inherit from AOSP's product/full_base.mk

To make the ROM leaner, do not inherit from product/full_base.mk, but copy
the relevant parts inline sans the packages that are to left out of the
build.
Add the T-Mobile theme manager from CM
Add CM extras: LockClock & BluetoothExt