[Resource] Move event into component & add new dependency on it
[Cart] Move events into component
Move FlashEvent from Cart to Resource component