Add input-pwm support along with platform tweaks for Gumstix AeroCore

Mix of tab- and space-indents. Consider fix_code_style.sh (and beware cut-and-paste programming 8)