Rename 'vector' to 'mkvector' to avoid ambiguity with std::vector.
Rename 'contains' to 'find' to avoid clash with existing source.
Added NMutex, NSReadWriteLock, and NSpinLock includes to header.