libspark/record: Implement writer thread. May or may not improve anything.
libspark/record: remove debugging output accidently left in
Merge remote-tracking branch 'martiis-libstb-hal/master'

Conflicts:
	libspark/record.cpp