build: Add --with-static-boost flag to configure

Independent of linux/windows this flag signifies that a static boost
was used for linking. This implies that:

- `-rt` is needed on linux )for chrono)
- `-DBOOST_TEST_DYN_LINK` must not be defined
gitian: Reduce build time for boost windows dependency

Build only the mt-s (multithreaded, static runtime link)
variant of the library.

This cuts the build time in half.

Also prevent unpacked boost from ending up in output directory,
checking and hashing all the source files as output files this
takes a lot of time and is pointless.
gitian: Build boost dependency for linux

Instead of using the boost provided by Ubuntu 12.04, build our own
dependency like we do for Windows.

This allows using a much newer version (1.55 versus 1.46) as well as
building with `-fPIC` so that `-pie` can be used in the x86-64 build.
gitian: Add openssl to linux deps

Build OpenSSL instead of using distribution-provided
library.