to freedv interface added the ability to determine demod sync and bit errors, better freedv_rx demo for txt and side info with log file, added switch driver and first pass at SM1000 main() program.  Compiles OK but untested

git-svn-id: https://svn.code.sf.net/p/freetel/code/codec2-dev@1786 01035d8c-6547-0410-b346-abe4f91aad63