refactor: move healthBar into its own directive

- use in temple view, combat view, and hero card
chore: remove dead directives
fix: state machine turn deadlocks in combat

- fix a number of deadlocks that could result in combat becoming stuck in a given state.
- register container click once in alertService and destroy it only when the service is destroyed (ever?)
- Add some debugging code to state/stateMachine to make debugging stat transitions easier.
- Make sure not to leak combatBeginTurnState click listeners.
- Make callback for attack optional in playerCombatRenderComponent.
chore: wire npm test up to karma skeleton suite