Added templateName attribute to resolve bug
Reverted removal of targetObject so that footerButtons will continue to work
Obtain rootElement dynamically
Added conditions to avoid errors in testing due to App.reset() calls
Merging everything together.

Conflicts:
	app/scripts/components/GrowlNotifications.coffee