Message filters Cache object implementation for python

I implemented the Cache object for the Message Filters in python, since it has been a TODO for long. Have tested it in a NAO robot capturing ar_pose messages and seems to work well. 
I would swap the order of the condition as it matches the natural order of the interval better:

    if m.header.stamp >= from_stamp and m.header.stamp <= to_stamp