Travis: before_script use here-doc for apache config

Use bash instead of sh
Travis: before_script use here-doc for bootstrap
Travis: before_script improve mantisbt parameters setting

Instead of hardcoding the http query string directly in the cURL call,
we now build it from an associative array, which makes maintenance and
addition of new install parameters more easy.
Travis: before_script refactor db setup
Travis: before_script set crypto through installer
Travis: before_script use variable for hostname
Travis: branch spec switch from white- to blacklist

Instead of only building master and master-1.2.x, we now build all
branches except master-2.0.x.

This allows users who fork the main repo and create feature branches
have them go through the build process