Add display of the upstream data rate to the Debug Console

Involved pushing the data rate calculation down to the LinkInterface and added a calculation for the upstream rate. Also some various cleanups and refactorings.