Fixed external implementation for private types (#578).

Fix for external implementation of private classes (#578).
Note: If $jsilcore contains implementation for private type, private type with same name will have same TypeId.
Maybe we should find better solution or correctly define assembly for classes in External Implementations. On other side, public classes work same way now.