Fixed render template paths for create_drain, create_domain and create_release

Conflicts:
	app/controllers/api/apps_controller.rb
Bugfixes in gitreceived/receive