Add setup.cfg for nosetests
lib/video_source.py: clean-up the code, use common logging setup
lib/video_source_mplayer: clean-up and migrate

Fixed up invocation and tests.
Merge branch 'master' of github.com:stsquad/ps3enc
ps3enc.py: messy re-factoring and unit tests

This is more of a work in progress but at least it gets through 90% of
the tests now.