Documentation of terminalparser.hpp and version.hpp

For https://www.google-melange.com/gci/task/view/google/gci2014/5830432834715648