Levelization: source code structure

This de-tangles dependencies:
* basics/ no longer depends on any other modules
* crypto/ depends only on basics/
* protocol/ depends only on basics/ and crypto/

Reviewers: @scottschurr @mtrippled 
You're right.  I reacted too quickly to the name `String`, which is clearly not a std::string because of the initial cap.  My error.