Fix #302: alias_generator fails with main
Fix #302: alias_generator fails with main

The alias_generator.py launcher was not working properly because
the main function has been redefined twice. This has been fixed
by renaming the traditional `main` to `generate`. At the same
time, the list of nicks generated is only sent to a file if called
by main.

i3visio/osrframework