Implement files REST API

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Add basic support for pushing/pulling files

Here we have basic support for pushing and pulling files from containers. We
don't support recursive stuff right now (although it shouldn't be hard to add).

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Grab files from /proc/<pid>/root for running contianers

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Better handle errors for missing files

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
[UPD] fixing issue #118

removed the duplicate line

Signed-off-by: Matthias Fritzsche <txt.file@txtfile.eu>
Merge pull request #119 from txt-file/patch-1

[UPD] fixing issue #118
Merge pull request #117 from tych0/files-api

Files api
rest-api: Add Etag support for reliable updates

Issue #120

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Merge pull request #121 from stgraber/master

rest-api: Add Etag support for reliable updates
wip
Revert "Store all certificates PEM encoded"

This reverts commit 60f8d20009e035679fa03608e2a811ca7fd7b3d4.
wip
wip