Move middleware & installed app settings to common.

Keeping them split into all those samples is not really beneficial,
and makes bisecting painful. Instead, keep the common middleware & apps
common, and override as necessary in devel/prod.