linux-beagleboard 3.8: backport merge_config.sh from Linux 3.17

This fixes #16

Signed-off-by: Ilkka Myller <ilkka.myller@nodefield.com>