Dynamically calculate the thread count for the build process by reading `/proc/cpuinfo` in order to be more independent from the environment.
- break on errors by adding `set -e` to the CI scripts - increase build timeout to 2700 seconds (45 minutes)
- use random DB names in order to detect statements which address a specific DB - split compilation and DB check (DB check and dry run only have to run once) - use separate shell scripts for easier module Travis integration