More shared_ptrs and unique_ptrs.
Formatting cleanup.
Add test file from Aldrin's crypto lib.