Updates for php 5.4 compatibility, better purge behavior

I improved compatibility with PHP 5.4, and I also made it so that items in feeds with broken or missing timestamps would be purged correctly.  Also I tweaked the dynamic update behavior a bit and added better logging to make it so that I can start tuning the algorithm more (now that I have plenty of data recorded).