bz19971: Fixes for expire_time()

Don't crash if feed_expire_time_parsed fails because of bad input.
Fix for feed_expire_time_parsed().
bz19969: Don't crash on key error in linux device tracker code