Add a new method: ResidentCommunicator::addModulePath().

This function avoids hides size to be written to the buffer.
It also avoids developers from using wrong kinds of addXX()
familiy functions.