Use unittest2 (for python <= 2.6)
Separate route/view config in tests to prevent deprecation warning

(Deprecated since pyramid 1.1)
Clean up unused logging import
Also inject resources for application/xhtml+xml

And make sure to call fanstatic.del_needed() (even on exception.)
Fix for new pluggable injectors in fanstatic 1.0a3
Split Tween to PublisherTween and InjectorTween

Also change constructor signature of *Tweens to match that of a tween factory