Fix tab complete not adding a space.

Thanks Amanieu.
Fix potential overflow with sscanf when reading in session data
Audio: fix the music loop not starting if there is no leading sound
Add back the ability to search for overridden files with which
Use com_consoleCommand in the tty and curses consoles
Port of smart armoury from Tremfusion
Some fixes to the armoury menu
Replace a marked building OM/RC instead of building another.
Merge branch 'gameplay/armoury'