Get TableMap class name from Peer class

I think it is a bad idea to generate the TableMap name on demand in the
DatabaseMap. Instead it would be a good idea to read it from the Peer
class. In that case it is possible to change the TableMap class name
completely by overwritting the builder
Fix namespace support

The constant TM_CLASS was not containing the fully qualified classname.
Needed for the DatabaseMap class to detect the name correctly
Merge pull request #739 from project-a/master

Get TableMap class name from Peer class instead of concatenating