use sub instead of delete, since they diff

Delete actually delete every intersecting character and
not *only* the matching string.
Merge branch 'staging' into augmenting304_ssh_access_for_git
ignore search-ignore.
views for metadata fields

Conflicts:
	app/controllers/license_models_controller.rb
	app/controllers/projects_controller.rb
	app/views/license_models/index.html.haml
	app/views/projects/index.html.haml
	app/views/tasks/index.html.haml
fixing association error
fixing miner errors in association and fixing seeds
fixing view of licensmodels
seedfile for projects for has_and_belongs_to_many
Removed unused files generated by scaffolding.

Conflicts:
	app/assets/stylesheets/categories.css.scss
	app/controllers/categories_controller.rb
remove file-existence ensurance of authorized_keys

The setup gets rather complex so a simple existence
ensurance won't work anymore.
fix pathname related issue.
use the current-symlink to refer to git-shell.
only fail on remove, when file not exists.
delete key from authorized_keys-file correctly

When deleting a Key we should only
delete its line in the authorized_keys file.
Since Files#lines returns an enumerator, truncating
before reading would not work. Also File#lines
is deprecated, which is why we will build our
array by using File#each_line.
extract authorized_keys open into own method

Also lock the file while working on it.
adjust generation of authorized_key line

The options can't have whitespace between the
commata.
fix matching of authorized-key lines.
fix load of rails_config for git-shell

This also includes requiring the rails_config gem and
setting GEM_HOME environment variable accordingly.
add relation between ssh-controller and repository.
use git_home instead of git_root

git_root is the actual directory where the bare
git repositories are stored. git_home is the directory
with the bare-git-repo symlinks, which are named
after the name of the repository instead of its id.

Also use the symlink-dir to get to the repositories.