Changed get_ipython_dir to return unicode otherwise the ...
Changed get_ipython_dir to return unicode otherwise the
pre_config_initialization in iplib fails with UnicodeError when
exotic paths are used.
ipmaker.make_IPython changed to use get_ipython_dir.
some more tests added to genutils.py