Changed hardcoded string lengths to strlen("...") for clarity.

Strings being checked are still hard-coded but this makes the code clearer and reduces the chance of an error being made through missing a "magic number" change if the argument string being checked is changed for any reason.
TRQ-2289 - Queues disappeared

- Make sure to check the return code of close() calls
- Change to rename() instead of unlink(), link(), and unlink()
TRQ-2280. In the event that pbs_server re-writes the nodes file have it save additional properties added to the cray compute nodes in the file as well instead of forgetting them.
Reset the number of retries when client utilities are
trying to get a connection to a server. TRQ-2265
Merge pull request #193 from mattaezell/trq2289

TRQ-2289 - Queues disappeared
TRQ-2284. Fix a regression with specifying  in the mom config file. Cherry-pick help.
Made it so cnt2server will not try to find the currently active
server if there is only one name in the server_name file. TRQ-2265
Fix a broken unit test.
Merge branch 'master' of https://github.com/adaptivecomputing/torque
Fixed a bad predicate in cnt2server that made it so
HA could not switch over. TRQ-2265
Fixed regression in pbs_original_connect where unexpected
error message was getting returned. TRQ-2178
Merge pull request #192 from loz-hurst/master

Changed hardcoded string lengths to strlen("...") for clarity.
Manually merge in relevant parts of github pull request #163.
Update .gitignore.
Fixed unit test for cnt2server
pulled mock for pbs_get_server_list from 4.2-dev to master
Cleaned up unit tests.
Fix use of grep_safety_net
Fixed problems where trqauthd was not properly handling
designated server ports in server_name file. TRQ-2298
Fixed Unit tests for trq_auth.c and trq_auth_daemon.c