fix bug causing too fast frames.

It seems that a format option was causing the video become
twice as fast as it should.
added an add-hoc version of movement detection
added a section specially for test_movement_detection
missing test_encoding_no_tunneling libraries on CMakeList.txt