Extended type maps with the ability to insert custom code instead of a copy ctor invocation.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #170 from ddobrev/type_maps_copy_ctor

Extended type maps with the ability to insert custom code instead of a copy ctor invocation