[zookeeper] Migrate ZK duties to Curator

[zookeeper] Finish migration to Curator and add tests

[zookeeper] Fix borked rebase

Conflicts:
	pom.xml
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.

Conflicts:
	pom.xml
Exclude netty (from ZK) in pom.xml.
Sort offers by slave load hint.
Implemented replacement web UI.
Added separate button to create new dependent job.
Removed edit/new job functionality from UI.
Dropped duplicate button.
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
[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
Clean up merge cruft.
Prefer offers with reserved resources, first.
Update the job correctly when disabled.