Bug 3296: Better directory detection and msgs in factory tools
Improve DAEMON_SHUTDOWN for partitionable slots

A partitionable slot always appears idle, so it would terminate
after GLIDEIN_Max_idle after running, even if all of its subslots
were occupied.  This should arrange so it only terminates if the
subslots have been reclaimed; this isn't perfect, but I'm not sure
we can do more without additional information in the machine ClassAd.
Fix Typo in DS_TO_DIE
Fix missing imports: correct bad paths and typos
Fix more missing imports: correct bad paths and typos
Bug 3433: fixing frontend tools to work in master branch
Merge branch 'branch_master_3296'
Use a regex to fix newline characters in the RSA key

HTCondor 7.9.x changed the way that special characters are escaped in classads.  This broke the simple string replace function we had in place.  The regex will replace 1 or more \'s + n with \n.  Examples:

\\\\n -> \n
\\n -> \n
\\\\\\n -> \n
\n -> \n
fixed teh number of arguments.  Forgot to remove old args.
Fixes to get factory and wmscollector install working. Issue #3437
Bug #3437 Ini installer broken in master

Remove references to these attributes factory options
 - "use_vofrontend_proxy"
 - "x509_proxy"
 - "x509_gsi_dn"
.
Removed these methods and use of them:
 - def use_vofrontend_proxy(self):
 - def x509_proxy(self):
 - def x509_gsi_dn(self):
.
This should bring the module back to where it was before the bad merge on Dec28.
Eliminating pylint errors: ini installer had obsolete debugging statements
Fixing Pylint errors: factory/tools/manual_glidein_submit cp_get calls
Bug #3437 Ini installer broken in master

Removed need for ldapMonitor.
This was used to query bdii for entry points.  Accessing bdii  returned way
too many entries for a user to select from so it was basically commented
out back in 2010.
The import for the ldapMonitor module it used is causing failures if
the python-ldap module is not installed.
Fixing Pylint errors: factory tools query_teragrid arguments changed
wrapped regex substitution in an str call to eliminate unicode and added debug logging
Merge branch 'master_3437'

Conflicts:
	install/services/Factory.py
Pylint: fixing a few of the remaining issues in master
Fix the field count detection when using awk. #3454
Manually merging changes from branch_v2plus_2981 into master. Issue #2981