Declare SubscriberBase before MessageFilterBase so that the former gets unregistered from the message filter before the message filter gets destructued on costmap destruction
Merge pull request #1 from adamantivm/shutdown-deadlock

 Fixes deadlock on costmap2d shutdown