refactor(config) use util method

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(core) bootstrapping error -> critical

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
commands/http: Allow API requests from whitelisted origins
daemon: Set allowed API origins in API_ORIGIN environment variable
importer: simplified splitter

The splitter is simplified using io.ReadFull, as this function
does exactly what we wanted.

I believe io.ErrUnexpectedEOF should be handled as an EOF here,
but please correct me if I'm wrong.
fix(bitswap/notifications) don't force sender to block on receiver

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
fix(bitswap) shutdown

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(eventlog) extract Loggable

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
refactor(eventlog) rename ContextWithLoggable

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

fix(eventlog) compilation error

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
docs(eventlog)

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(dht) add eventlog.Update event

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
feat(main) create root context

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(main) add log event for executing pre-command hooks

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(core) Event: bootstrap

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(dht) Event: connect

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(swarm, netmessage) Event: connSetup(begin|success)

+ netmessage is now loggable

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
Merge pull request #363 from jbenet/misc/2014-10-2X

miscellaneous fixes