Factor server-specific constants out to Config.php

Changed include paths to be relative paths
Cheeky change to how channels API generates IDs
Add template Config module and admin page