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

Some code style issues here; have you considered using Tools/fix_code_style.sh ?