Awesomebar: performance improvements

Don't call find_expandable - use existing $isbranch variable to determine if it's a branch.

Also cache activities returned by generate_sections_and_activities.