Changed the querys the databasehandler executes

Added: the relevance of a URI is now updated after parsing.
Changed: the index will now be added to the database in it's entirety,
and not word for word.
Changed: the uri queue will be retreived ordered by priority, instead of
first in first out.
Merge pull request #17 from Thywin/Feature-DatabaseImprovement

Feature database improvement