Add Counter struct.

This can be used for counting of meshes or other object instantiations etc.
Use BaseLib::Counter<Mesh> for mesh id.
Add UniqueMeshId test.