First step in Bodymedia parallelization

@kristjan @beaugunderson you guys could check this out as you go through parallelization work. Low, low priority since it is low usage, but when you get there, this might be 80-90% of the work needed.

Warning: old code, pre FB parallel merge, so feel free to deem it junk!