Refactored parts of the code.

Fixed up the database stuff so we get less code.
Removed the login method in WikiHandler and basically added the same stuff in the __init__, Thus we can just call self.site and get the same stuff.

Now, i dont got anyway to test this on my curren PC, so i hope i did not add any kinds of obscure bugs D:

Review and maybe do a little bit of testing before merging please!