examples/ftm-input: use ftm to read period between rising and falling edge
examples/ftm-input: comply with a coding style guide
Merge branch 'ftm-input' of git://github.com/mashu/mchck