Bug 1146112 - Added 401 to default expected status codes on health check. This will allow for Basic Auth applications to work in scaled mode.
Also provided ability for admins and users to change this and the health check URI values using environment variables.

Bug 1146112 - Can now set http-check status codes and GET uri via ENV vars

Bug 1146112 - replacing a line that was removed by accident

Bug 1146112 - Control script will check for user defined haproxy.cnf variables and set them

Bug 1146112 - No need for ternary operator here

Bug 1146112 - Per bparees: This came up on the bug scrum and there was agreement that we should accept 401 by default, can you update this to include 401 as part of the default status code list?

Bug 1146112 - Changed to double quotes for default values