Fixed icon_map population in Py3.4

This fixes one of two failing tests.
Made entry sorting Py3.4 compatible.
Fixed rootdir problem with Py3.4

With this all unittests now work using Py3.4 and Py2.7

This fix introduces a new dependency
https://pypi.python.org/pypi/future
Merge pull request #23 from christer/3.4

Python 3.4 compatibility