Add helper function for chunk server I/O

 - Make it easier to read/write header and content.
 - Add associated tests.
Add chunk manager to maintain chunk information
Enhance namespace manager

 - Add Store(), Load() function.
 - Add GetFileLength(), SetFileLength().