[Azoth] Use std::unique_ptr instead of boost::scoped_ptr.
[Azoth] Refactored crypto management into CryptoManager.