add the sa_similars (security alerts similars) call to the API

this way we can call it from an external application like curl

this partially fixes #15
add the sa_similars (security alerts similars) call to the API

this way we can call it from an external application like curl

this partially fixes #15

(cherry picked from commit b3395c38e257f5decc86825e6446ef02b6bfe355)
use env variable for servername in deploy scripts for production
add extid column to security alert model

we are going to use this extid to identify security alerts in other
gems-status-web instances.
add json interface for sa_similars API call
update gems-status to the latest version
get similar security alerts from another server

when we insert new alerts, look for similar ones in another
gems-status-server.

This fixes #15

It includes a fix for the mailing_lists variable which should have been
uppercase and some more logging.
Merge branch 'master' of heroku.com:red-ruby into heroku

* 'master' of heroku.com:red-ruby: (80 commits)
  add user count in users' list
  add 'beta user' information in the users list
  add times logged in the users list
  add counter of how many times a user has logged in
  fix MAX_RUBY_APP_BY_USER when using env variables
  fix config variables
  update gems-status to 1.76
  fix error: not being able to add new gems
  looks like the git in heroku does not like to clone from www.github
  fix local variable name
  move class definition outside function
  fix source urls for gems
  update gems-status
  update gems-status: more debugging messages
  update gems-status
  just a stupid commit to redeploy
  fix import repos
  add more information to the exception message when importing repos
  Revert "add some repos"
  add some repos
  ...

Conflicts:
	app/controllers/application_controller.rb
	app/controllers/home_controller.rb
	config/routes.rb
	test/controllers/home_controller_test.rb
Merge branch 'master' into heroku

* master:
  get similar security alerts from another server
  update gems-status to the latest version
  add json interface for sa_similars API call
  add extid column to security alert model
  use env variable for servername in deploy scripts for production
  add the sa_similars (security alerts similars) call to the API

Conflicts:
	Gemfile.lock
	app/controllers/application_controller.rb
	app/controllers/home_controller.rb
	config/application.rb
	config/routes.rb
	lib/gems_status_wrapper.rb
	test/controllers/home_controller_test.rb
fix gemfile.lock
Merge branch 'heroku' of github.com:jordimassaguerpla/gems-status-web into heroku

* 'heroku' of github.com:jordimassaguerpla/gems-status-web:

Conflicts:
	app/controllers/application_controller.rb