Simplified read/write manipulation with binary structures

Great simplification because I started to use direct read/write methods
instead of my own *_uXX methods.
First draft of atomic compare-and-switch instruction.

Required using lock for every read/write access to memory. These
can (and will) happen in different threads, because each CPU core
has its own thread, but there's no need to protect actions like
setting MME or memory boot - these are happening in a synchronized,
serial way at the beginning. There is no way how to allocate memory
page or create mmap are when user code is already running. This may
change later, it will be dealt with then.