TAJO-1026: Implement Query history persistency manager.

Closes #179
TAJO-1162: to_char() returns "-00" second.

Closes #234