Add a cli testing app for simpler testing
cli_test: Fix packet reading/decoding loop

Makes a random VOB decode a frame just fine, but on the other
hand it does make rather many attempts at decoding