Policy template

This turns policy.json into an ERB template with defaults set. Deploys it along with api.rb