Diagnostics program now has a console

Improved memory tests and added a simple console.
Change the flash reservation to 16 MiB total

Turns out the Bitstream is too large and bareboot / diag is much
smaller than I thought they would be. Reduced the max size to 8 MiB
per application.

Also some other updates with regards to diag console and other diag
imporvements.