added pinmux device tree overlay tool
device tree based GPIO pinmuxing working on >=3.8 kernels
moved cape manager code to separate file