Make raw and param inherite unicode instead

Also add "print" to doctests so that they can behave the same on
both Python 2 and 3.
Add Python 3.4 to Travis