sdlog2: new log messages added, ajustable log buffer

- Attitude actuator control (ATTC) and System state (STAT) log messages added
- Buffer size can be ajusted with -b option
- Some fixes and cleanups