Build 400 and 404 HTTP replies
Summary:
This feature bumps the library version to 0.4.0,
as required by docker-registry-api microservice.
Test Plan: Tested in rAPIREG.
Reviewers: dereckson
Reviewed By: dereckson
Differential Revision: https://devcentral.nasqueron.org/D1882