Revert "Significant UI code restructuring"

This reverts commit 12a087462a8d19b781aeb59066cf0111b496e03e.
Revert "Revert "Significant UI code restructuring""

This reverts commit 4017afe2ce13c30221c519587aa1eb45b2c00138.
Added more aggregation templates

Added basic aggregation templates for call stacks and file accesses.
Merge pull request #68 from dannybutler/master

Added more aggregation templates
merged upstream + added stack meta assoc.
fixed db relation bugs