Add git ignore file for Rails app

Add a specific ignore file for the Rails application. Based on
the file at:
 https://github.com/github/gitignore/blob/master/Rails.gitignore
.gitignore: remove omniauth initializer

No need to ignore the omniauth initializer file. It can safely be
added to the repo.
.gitignore: add assets under public/

Precompiled assets should not be uploaded to the repo as they are
already - in their original form - included under app/assets and
vendor/assets.
upgrade codebase to rails 4.x

Move to Rails 4.1.4 and the latest available Gems for the whole
environment. Also move all secrets into the new secrets file and
make all other files read their secrets from there instead.

In addition, expand the repository to include all but private
files which should not be on the repo.
upgrade codebase to rails 4.x

Add files missing from last commit that were modified but not added
to the commit. :P
make code pass tests after upgrade to rails 4

Forgot to run the tests after making the upgrade to Rails 4 and
of course there are ton of stuff not working.

Adapt the code so it works properly in Rails 4.

There's also a little start on a new search engine. It screws with
the drop down in the header.`
Gemfile: add the haversine gem for doing calculations on longitude and latitude

The search engine will weight suggestions (previous search queries) by distance
between the searchers. For this we need to calculate distance using longitude
and latitude. The haversine gem provides this functionality.
Gemfile.lock: add the haversine gem for doing calculations on longitude and latitude
gfx: add a large animated gif on white background to use when loading via ajax
css: add a class for boxes with a minimum height
search: add suggest method to model

Search.suggest returns a list of suggested search queries which are
weighted according to popularity, distance, locale and if the user
himself/herself has made it before.
javascript: move autocomplete code into separate file

The Javascript code for handling autocomplete via AJAX is moving
from the template to search.js.coffee
create a new search engine

Start work on a new search engine. The search engine will take queries, save them,
pass them onto backends (Last.fm, SoundCloud, YouTube, etc.), parse the results
and present it back to the user.

If a search is made via the API (json or xml) the results are fetched directly and
simply returned.

If, however, the search is done interactively (a normal, browsing user) the user is
first presented with a skeleton result page and the query is sent via AJAX and
injected onto the page.
css: update scaffolds.css.scss to new rails 4 format.
html: remove old search box from header
locales: remove old cruft
test: add tests for auto suggest
create event object

Introduce a new object: Event. An event has a name and place and includes several
performances from artists (habtm).
db: make search locations (long,lat) into floats
add wikipedia links to resources

Any resource can now have a WikipediaLink. This object will search for a wikipedia page for the
resource and can return a hash with summary and key information.

Currently only artists are supported and language support is hardcoded into the model itself.