Fix the system stop function to stop components in reverse.
Right now stop function of system walk through components and stop them in the same order as start function. which is wrong. We need to stop components before their dependencies and finally stop those components which others are dependants on them.
Edited by Sameer Rahmani