extended the provision scripts to replace the linker with ld.gold
added database support and refactored the code a fair bit
fixed the provision code to replace the linker with gold