Various dynamicproxy-api changes:

- Switch to using uwsgi
- Create initial db if needed

Change-Id: I797d8f5e96e0dcc504668b1cd8832aa2e5de6e41