List command bug fix, easier debugging

- List command was generating bad data size because it was adding
directory entry char to buffer before testing buffer overflow.
- Added MAVLINK_FTP_DEBUG define to easily turn on/off noisier
debugging output
Merge pull request #1270 from PX4/FTPDebug

FTP List command bug fix, easier debugging