Ensure that Component load event has component property. Fixes #119

Adds test to expose the bug and reorders exising code to fix it.
Merge pull request #120 from fmtvp/componentcontainer-loadfix

Ensure that Component load event has component property. Fixes #119