oauthtest: trying to add timeout

The latest version of Net::Twitter converts $tweet->{created_at}
to a usable format which we can use to timeout the messages.
Oauthtest: fixing some issues

* using strict & warn
* using token and secret in a hashmap
* correcting file reading and writing.