Added api-key generation, resetting, and auth.

Still need to test all authorizations.

Also added a python script to test a scripted agent.
Bug-fixes and fixed views for agent trading.
Some improvement to agents//view and agents//trade.

Added messages if no trades have been made or if the portfolio is
empty.

Added a refresh button to refresh the status of the agent.

Added a button to navigate from trade to view.
Added auto-refreshing to trade and agent views.

This required the addition of angular-timer to bower, so an npm install
is needed.
Moved cash into composition of portfolio.
Secured against an agent trying to trade cash.
Added a 'reset trades' button to the agent view.
Added a status property for each agent.

Backend adds the status when it shows an agent. The status includes the
agent's current cash and current portfolio value (total portfolio value
is current + cash). If the user owns the agent, also shows the current
portfolio composition.
Framework for agent-list directive integrated.
Agents list now splits agents according to leagues

Shows basic agent info.

TODO: continue populating agent info.
Moved agent status computation to a model virtual.

Updated views to reflect change in names.
Renamed agentlist directive files.

Updated references to properly inject directive and template.

Motivation: to add more agent-specific directives in same directive file
and remain clear and concise with file structure.
Created the agent-status directive.

Displays the agent's status (cash, securities value, total value).

Integrated this directive into agent-list directive and agent view.
Added action buttons to agent list directive.
Added ability to pass in league id for agent creation.

Sets default value for league in league selection dropdown.
Integrated agents list into users.
Added agent list to leagues.
Some header navigation improvements.
Minor cleanup.
Navigation modifications.