Added Python 3 support for work_queue library.
Accomodate older versions of Python 3.
Fixed Python 3 detection bug in configure script.
Organize/alphabetize headers. Remove some repeats.
alphabetize/simplify
whitespace
Merge #181.
Extract filename extension from path
find extension for more types of paths
vim file settings
Merge pull request #187 from rampantmonkey/path_extension

Extract filename extension from path
Fix some bugs caused by #172.
Cleanup foremen/workers relations
Foremen do not report their own core and memory stats.

Conflicts:
	work_queue/src/work_queue_worker.c
Foreman measures disk with workspace
Merge pull request #186 from btovar/foreman-reporting

Commits from Ben and DeVonte include:
1. Clean up the printing of the master-foreman-worker relationships in work_queue_status.
2. Foreman's local disk information is reported to the catalog/master. (the cores and memory is still reported as the aggregate of its workers).
3. Foreman reports cores and memory as 0 in its ready message to master.
4. Fix bug where the disk space of foreman's sandbox was not being used.
Renames local_resources to aggregated_resources.

Also, renames:

work_queue_get_resources to work_queue_aggregate_resources,
work_queue_resources_measure to work_queue_resources_measure_locally.

The motivation is to make the code more readable when dealing with
resources from workers and foremen.
Have ticket test actually try to do something with the ticket.
Put tasks at the back of the only if there is at least one available worker.
This will avoid unnecessarily putting tasks at the back when there are no
connected or available workers.
.
Fix portability problems on Darwin.
Add some helpful debug code.
Other minor fixes (e.g. remove redundant newlines in debug messages).