main: add CORS support
Merge pull request #1013 from jonboulle/1013_cors

Add CORS support
store: fix recursive/dir arguments
Merge pull request #1132 from jonboulle/fix_store

store: fix recursive/dir arguments
etcdserver: init time.Time only if Expiration > 0

golang's concept of "zero" time does not align with the zero value of
a unix timestamp. Initializing time.Time with a unix timestamp of 0
makes time.Time.IsZero fail. Solve this by initializing time.Time only
if we care about the time.
Merge pull request #1131 from bcwaldon/1129

etcdserver: init time.Time only if Expiration > 0
test: stop running gofmt ./

gofmt ./ will recursively check the .git directory. So use *.go for
gofmt instead
Merge pull request #1137 from philips/gofmt-hack

test: stop running gofmt ./
discovery: init commit
discovery: add fast path
discovery: add d.selfKey()
discovery: add tests for sortableNodes
discovery: store size inside /[cluster]/config
discovery: key config -> key _config
discovery: remove redundant comment for createSelf
discovery: address comments
discovery: add a overfull case for waitNodes