First implementation of priority handling

Hello,

Here is my first shot at implementing the priority handling proposed in https://github.com/Sude-/lgogdownloader/issues/34

Feel free to give feedback if there changes you wish before merging it.

Regards,