renaming module mezzanine_nowait into nowait
fix test and fix code compatible for python 2.6