Fix discovery JSON

The image should always link to <domain>/user.jpg.
Change bundled database.yml to use DATABASE_URL in production. (closes #11)