Added the $LDAP_CONN_TYPE variable as argument

Missing LDAP_CONN_TYPE variable denoting the connection protocol was
missing and causing the ldapsearch to fail. This issue has been
rectified with the addition of the missing argument.
Added $LDAP_CONN_TYPE in the right place

Fixed an issue where the LDAP_CONN_TYPE variable was placed in the wrong
place.
Modified case statement to account for error codes

Case statement will now output different error messages depending on the
error code returned. On returning 0, script should continue, otherwise,
an error message will be printed and the script will be restarted.
Merge branch 'develop' into feature/ldap-config
Remove LDAP_PORT variable from ldapsearch args

LDAP_PORT variable is not necessary as ldapsearch will determine port to
use.
Fixed issue caused by all caps value

LDAP has been changed to ldap to resolve potential issues that could
arise from having all capitals in a URL.
Merge pull request #58 from ausaccessfed/feature/ldap-config

Added ldap connection checking
Resolves #44 
Resolves #61
Merge branch 'develop' into feature/entity-id

Conflicts:
	bootstrap.sh