Determine DOTFILES_ROOT correctly

and cd into it. This fixes git setup.
Merge pull request #142 from kirelagin/fixroot

Determine DOTFILES_ROOT correctly
Minor tweaks

Use $(...) instead of backquotes which is not only POSIX-compatible but
is way more readable and nests properly.
Be more generous with quotes (just in case) and less generous with backslashes.
Fix bootstraping broken in #142
Merge pull request #145 from kirelagin/fix_root

Fix bootstraping broken in #142
Merge remote-tracking branch 'holman/master' into syntax

Conflicts:
	script/bootstrap
Adjust overwrite/backup/skip logic

This shouldn't alter behaviour of the script
Get rid of long ifs

This commit also preserves observable behaviour
Drop `link_files` function

It had strange name anyway
Rename $source to $src and $dest to $dst

`source` is a terrible name for a variable in shell scripts:
it gets highlighted as a keyword—that's annoying.
Merge pull request #144 from kirelagin/syntax

Minor tweaks
Extract all the linking logic to `link_file`
Check if target exists and is a symlink
Merge pull request #148 from kirelagin/enhance

Part of #147
peace out, sublime (closes #150)
Skip symlink if the existing symlink links to the same destination
Merge pull request #154 from sibartlett/skip-symlink

Skip symlink - if the existing symlink links to the same destination
--no-ri --no-rdoc is deprecated, use --no-document

/ruby/gemrc.symlink :
this congifuration was using 'gem: --no-ri --no-rdoc' to avoid
installation of docs with gems, but this method is now deprecated
changed it to new official way => 'gem: --no-document'
Merge pull request #157 from pravj/update-gemrc

--no-ri --no-rdoc is deprecated, use --no-document
Merging from Holman's upstream