Fix PostgreSQL database restoration problem (#4217)

Use psql instead of pg_restore to restore SQL dump file.
Increase snippet content column size.

This will fix issue #3904
Issue 3599: Add snippets_enabled flag to projects for API

s 3599: Add snippets_enabled flag to projects for API

Replace missing comma
Update api.js.coffee

CoffeeScript doesn't like that
project: allow import via git:// url

Besides specifying http and https url's as the import-url when creating
a new project, you can now use git://... url's to import via the git
protocol.
Remove gitolite repo check for import script
fix bug when project named: mediawiki

mediawiki.wiki.git
mediawiki.git

/.wiki$/ match awiki, so when your project named mediawiki
it will be find project named: "medi"

use /\.wiki$/ fix this bug
Remove randomly failing test
Allow ecdsa SSH keys

Update app/models/key.rb to permit SSH keys of type ecdsa rather than forcing dsa and rsa algorithms.
Merge pull request #4528 from akiva/master

Allow SSH keys to be of type ecdsa rather than only rsa and dsa (which are slower, older, and weaker)
Merge pull request #4502 from wuwx/patch-1

fix bug when project named: mediawiki
Merge pull request #4398 from Razer6/remove_gitolite_check

Remove gitolite repo check for import script
Merge pull request #4353 from dirker/allow-import-via-git-protocol

project: allow import via git:// url
Merge pull request #4297 from jdurand/patch-1

Update api.js.coffee
Merge pull request #4282 from bke-drewb/3904

Increase snippet content column size.
Merge pull request #4264 from andrewwutw/fix-postgresql-restore

Fix PostgreSQL database restoration problem (#4217)
Merge pull request #3993 from bke-drewb/3599

Issue 3599: Add snippets_enabled flag to projects for API
Fix typo.
Removal of gitlab.socket should be in stop function too. Fix #4313
Merge pull request #4533 from babatakao/patch-2

Fix typo.