Implement new garbage collector

- MediaPipeline only can be released if it has not any children
- MediaPads are not auto releasable.

Change-Id: I95ba9b2e3ca82fd541daca97f54d291546f498ba