Tweaks to enable deployment via awsbox

This lets us do test deployments with awsbox - the only trick is that hapi demands an integer for the port, so we have to parseInt it ourselves from the env var.