Fix some troubles with changed API

Change list of this pull request:
1. Fix troubles with the new Vircurex API: domain, User-agent.
2. Some code improvements: remove "global", remove dict as default argument value (in case you pass the dict, all the function calls receives the same dict instance).
3. The init file added to use repository as package.