prevent simultaneous updates of the same source

This patch uses a file lock using flock() for each source that is being
updated and eleases it when ContentLoader() is done.

This should prevent some of the duplicated items seen in #594 and #596 .
add some more debugging output to feed updater
prevent hammering of a source by disabling too frequent updates
Merge branch 'sourceupdate-fixes'