Implemented test_dispatchermiddleware
Fixed dumb splits

Some splitting (and joining) have being used in a sub-optimal way.
Fix Python 3 compat issues
Add changelog
Merge pull request #571 from mitsuhiko/dispatchermiddleware_tests

Add tests for dispatchermiddleware