some update for unregister and remove

1. add array to store factories in BasicURLDispatcher
2. add array fix some bug in unregister methods
3. add factorycount and metacount in URLDispatchDelegate
4.