This moves helper classes and helper functions to other modules to avoid introducing a dependency on cryptography code for the get_merkle_root.py script. This means we can continue using the script without unnecessarily compiling libsecp256k1.
Now interface.py no longer depends on libsecp, and a helper function was moved from network.py to networks.py because the latter also does not depend on libsecp.