Add trylock variant to bit locks.
Consolidate magic field type and definition of enum to one file.

Makes it easy to know what exists and avoid collisions.
Add lock free stack structure.

Will be used to hold free lists of various objects.