Move strwidth function variants to powerline.lib.unicode

They can be tested thus.
Add tests for unicode module