Bug 1007600 - Support inline activity

https://bugzilla.mozilla.org/show_bug.cgi?id=1007600

- Move the code related to activity handling to ActivityHandler.
- Load the dom elements of the target panel before loading alameda.
- Add a placeholder to show the title faster when starting up.