db.postgresql: configurable test db setting

adds a \ postgresql-db global (analoguous to the \ imap-settings one)
which holds settings to a postgres db so that the tests have something
to test against.
db.tester: the postgresql-db variable shouldn't be mutated
db.postgresql: ensure that 2 line error messages are handled
build system: initial files for building using waf
buildable on linux, though the binary is corrupt
waf needs resource files end with .rc and specify paths relative to their own directory
attempt to include resource file in windows build
using winres
the recommended way is to only have one wscript and not use recursive builds
Build: both .com and .exe targets on windows
Build: library checking in Linux build.
Build: hide build files created by waf
Build: keep the boot images in the repository. it's safer and more future-proof than having to dowload them
Build: use the boot image to build a factor.image
Build: tweaks that almost makes it so the factor.image file can be generated on windows
Build: installation using waf now works on linux
Build: install auxilliary txt and TXT files
Build: ignore wafs hidden directory
Build: use a constant to keep track of factor's basename, currently factor-lang
Build: install files in misc to share