split input from app
split headless baseclass from input
split macro
restructure services
pep8
split playlist
Revert some byte regexps

Python3 will throw errors if you try to match bytes against strings or
the other way around. When I first stumbled across this issue I blindly
converted all regexps to bytes.

Yhis commit reverts most of that and keeps the bytes where they are
needed: When matching backend buffers.
imports at top
configure testing environment
some tests
some playlist tests
work around cases where babel is not installed (py32)
make tests work in py26
Merge branch 'feature-tests'