omb_utils_get_image: close directory properly

Also remove some whitespaces..
Merge pull request #1 from athoik/fixclosedir

omb_utils_get_image: close directory properly
omb_common: make selection brighter

Usually the selection is brighter... so swap selected and unselected colours
Merge pull request #2 from athoik/swap_selected_color

omb_common: make selection brighter
omb_main: umount OMB_MAIN_DIR to prevent data loss

Keeping OMB_MAIN_DIR mounted can cause data loss, so we need to umount OMB_MAIN_DIR

Additionally dmesg complains about unchecked fs:
EXT3-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
Merge pull request #3 from athoik/fixreboot

omb_main: umount OMB_MAIN_DIR to prevent data loss
Display image selection for images with textlcd

When image has MACHINE_FEATURES textlcd it should write text
to lcd device. Also check if /dev/dbox/oled0 device exist.

In order to use it we need the following into EXTRA_OEMAKE
${@base_contains("MACHINE_FEATURES", "textlcd", "-DOMB_HAVE_TEXTLCD" , "", d)}
Merge pull request #4 from athoik/textlcd

Display image selection for images with textlcd
omb_common: make menu colours configurable

Menu colours can configured by defining them in EXTRA_OEMAKE
Eg. -DOMB_MENU_ITEM_COLOR=0xE6000000

Default values are used when we do not confugure them.
Merge pull request #5 from athoik/color

omb_common: make menu colours configurable