Add sharness tests for ipfs add and cat

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Merge pull request #379 from chriscool/fix/nil-options

Add sharness tests for ipfs add and cat
fix(eventlog) configure logging if repo is initialized

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(repo) mv ConfigureLogger to repo package

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

Conflicts:
	cmd/ipfs/main.go
fix(eventlog) apply settings upon initialization

This commit applies the logging settings to the logging system upon
initialization `ipfs init` and `ipfs daemon --init`.

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