Update dockerfile and add resources for owncloud + postgresql

Main changes:
 * Ubuntu -> Debian base image
 * NGINX instead of Apache HTTP server
 * Mysql -> Postgresql
 * Use supervisord to monitor processes