tools: LogAnalyzer, allow reading/writing data from stdin/stdout

These changes add handling for '-' as the filename for xml output or datafile input.  In either case it changes the reading to go from stdin/stdout as needed.

(This PR depends on https://github.com/diydrones/ardupilot/pull/1166)