refactor(dashboard): Restructured front-end dashboard code.
fix(dashboard): bugs in key browser and stats page.
Fixed key add, key delete bugs. More refactoring.
fix(build): Use ngmin. Fix all introduced erros in previous commits.