Add a logs modal to UI

[logs] Force modal to open

Add content to log modal tabs.

First go at log scraping.

Comma fix

Paren fix

Syntax error

Syntax error again

debugging

debugging again

[CORS] use HTTP
[zookeeper] Migrate ZK duties to Curator

[zookeeper] Finish migration to Curator and add tests

[zookeeper] Fix borked rebase
[cors] Add Origin header to requests
[cors] Add Origin header to requests

[cors] revert origin thingy

[logs] Use the state data from the leader, not any master

[logs] slight rename

[logs] structure change

[logs] clean up getInfoForJob method

[logs] slight cleanup

[logs] typo fix

[logs] almost working - have a leak problem and a CORS problem still

[logs] typo fix

[logs] bigger text boxen

[logs] only execute callback once?

[logs] resize text box, seems to be working properly
Fix for dependency invocation handling, tests.

This fixes 2 things:
 - don't try to restore invocation counts from ZK state (as they may be
   wrong due to missed status updates).
 - reset the invocation counts any time a dependent job starts.

Also added more tests around dependencies.