Reorder states, cleanup.
Add debian-specific packages.
Add uwsgi.