testing, issue #1104: Make the test use static flags
Added version checker interface
inserted setUserAgent in each HTTP request
added APIVersion when call NewRegistry
Insert version checkers when call NewRegistry()
added client's kernel version
Removed an unnecessary error check.
Removed an unnecessary nil assignment
format in the user agent header should follow RFC 2616
reduce the number of string copy operations.
wip
Hack: use helper functions in tests for less copy-pasting
Merge branch 'master' into new_logs
store both logs in a same file, as JSON
Do not overwrite container volumes from config

Fixes #819 Use same persistent volume when a container is restarted
Bump version to 0.5.0
Testing, issue #1217: Add coverage testing into docker-ci
Small changes in changelog wording
Changed date on changelog
Make dockerfile docs easier to find. Clean up formatting.