ToCcParser unit test.

Create base class for MailParser and ToCcParser.
Add statistic output to ToCcParser.
Add function to update bin and lib file list to updatepkg.