Merge pull request #586 from flynn/go1.4

all: Bump to Go 1.4
Godeps: Add github.com/julienschmidt/httprouter

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Ports host rpc functions to http

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
pkg: Adds httphelper

Well, initial stuff, I'm not sure it works correctly just yet.

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
host: Remove old httpWriteError and use httphelper instead

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
host: Create a streamHostEventReq for keeping the stream channels

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
host: (rbm) sprinkled some pixie dust on the code

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
host: (rbm) started on host/http.go

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
host: Updates local_client to use new RegisterHost and RemoveJobs
WIP sampi client
WIP host client
host: http implementation, StreamEvents hasn't been done


Signed-off-by: Corey Powell <mistdragon100@gmail.com>
api changes
more or less finalize the host change
cluster: Move RandomJobID to utils.go.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
lots of fixes
get rid of AddJobsRes

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
add support for streaming for listJobs and getJob.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>