Working compressor implementation.

Moved all AVX-specific bits into avx.h.
Renamed vector types.
Added limiting of final output samples.
Added testing mode for debugging.