Improved version to get everything into databsae

Few important let minor improvements:
* shell script can fetch one project only as well
* few sanitizations in ruby to prevent crashes
* date is datetime, not text anymore, so me can search