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 reports its own disk total and inuse

Conflicts:
	work_queue/src/work_queue_worker.c
Use workspace rather than q->workdir