Add Rails 12factor for Heroku environments

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix latest migration to migrate existing Papers

Signed-off-by: Alex Coles <alex@alexbcoles.com>