Add close method to DAOs in order to close connections

Also in MysqlDAO, close preparedStatement and resultset, or it doesn't
got garbage collected and when doing 100.000 inserts we hit a
OutOfMemoryException
Add Redis DAO implementation
add timming to parse json, and insert in mongo dao
Refactor main code for simplicity

Also delete queue after finishing test.