Bug 1007600 - Support inline activity

https://bugzilla.mozilla.org/show_bug.cgi?id=1007600
I moved the setting of `targetPanelId` to this function and added comment describing that all handler functions should return the id of the panel that handles the activity.