fix: use allocated in worker to check task fit
fix: add committed, not inuse
Count resources only at intervals.

By including inuse in resources, local_resources changes very rapidly,
and for each change the master receives a resource update.

This commit makes it so that resources are sent to the master at no less
than the resources interval.
Log on tag, not on cores.
Remove double debug message (use one from wq_resources.c)
Merge pull request #435 from btovar/small_fixes_for_local_resources

Small fixes for local resources
Merge pull request #434 from batrick/glibc-process-title

Set glibc variables tracking the program name.