Move python 2 and 3 differences into classes.
python version specific string encoding methods.

Handle incoming and outgoing messages differently in python 2 and 3.
Initialize MockWeechat saved_state.
Remove unneccesary bytes() call from Assembler.

Add more tests for Assembler.
Remove u'' in IRC_SANITIZE_TABLE.

Not needed because of import unicode_literals.