Creates a connect method that is run to create separate session for each thread.

This way each thread has its own connection and there is no concurrency problem any more.

Next step :
Integrate counter in main thread together with streamer
Starts logging instead of ugly print
save problematic tweets
Create actual leaderboard.
Adds signal handling in counter to cleanly stop thread with CTRL + C

Next step :
Add logging support
Adds logging capability to counter.
Simple, but sets the root for later upgrades.
Adds a new column to tweets in db : invalid

Will be used to set problematic as crawled and try to correct them later on. This avoids having to process them over and over.

I might have to think about a better way to perform database updates if I do it often.
Tweet invalidation works.

Count now never tries to process twice the same tweets.

Next step :
Changes streamer to be a thread too, and stop it with a signal handler
The stream can now be closed properly.

Next objective is to be able to create/display a leaderboard for a given tag.
First ugly leader board is working.

What I have to do now is to order it a bit better