Simplified .clang-format.
Added keychain management like in the master branch.