Added checks for environment type

Added new functionality to allow the user to select between a test and
production environment.
Added config builder functionality

New lines now echo configuration to the main config file idp.yml
depending on the options that the user selects. This should now allow
flexible configuration. In future, this may be replaced with a more
powerful HERE document.
Removed extraneous lines from idp.yml

Removal of the lines is necessary as they are no longer needed and
handled by the main bootstrap.sh file, which should add new lines to
this file as necessary.