Logging for smoke tests in a txt file and other small modifications

* Updating setup script to take care of requests dependency
* Adding a new keyword to count the number of entries in a table
Shorter version is:

    table = s3db[statement]

I think this does not need eval()