atomic: use raw pointers
add `Deref` and `DerefMut` traits
shift macros into core/, update README

Closes #37
update tests and example.rs

Updated examples and tests for use with Rust 0.10-pre.