Add initial rest-api spec

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

Add initial rest-api spec