DemoActivity can log scope hierarchy

Adding a menu option to DemoActivity to be able to log the scope hierarchy and easily inspect it.