tools.mongo_piper.py:
- refactor for using tools.save_to_db.save_to_db()

tools.save_to_db:
- added save_to_db(), that stores data and some stats
- rewrite of module to make debug writes to mongodb

tools.test:
- fix of print's for py3