nix-prefetch-git: fix determinism with leaveDotGit

Add more files to the delete list:

 * .git/FETCH_HEAD
 * .git/ORIG_HEAD
 * .git/refs/remotes/origin/HEAD
 * .git/config

Further, remove all remote branches, remove tags not reachable from the
given 'rev', do a full repack and then garbage collect unreferenced
objects.

According to my testing, the result is fully deterministic. As in "any
change done to the upstream repo, ahead of 'rev', will not affect the
hash of the resulting 'clone'". Even changing the clone URL will not
change the output hash, because .git/config is removed.

A new version of git can of course change store format, but that's
unavoidable.

For big repositories, the repack operation may be a bit heavy. But as
far as I can see there is no cheaper way to determinism.
sudo: allow adding extra configuration options to the bottom of sudoers

from sudoers (5):
When multiple entries match for a user, they are applied in order.
Where there are multiple matches, the last match is used (which is not necessarily the most specific match).
r-RcppArmadillo: fix download URL
r-nloptr: add missing dependency on nlopt library
r-PoweR: fix build
postgris: 1.5.1 -> 1.5.8, fixes #3389
haskell-platform: install binaries and libraries into the user environment

Fixes https://github.com/NixOS/nixpkgs/issues/2968.
haskell-ariadne: update to version 0.1.2.3
haskell-language-c: update to version 0.4.7
haskell-rethinkdb: update to version 1.15.2.0
haskell-vty-ui: update to version 1.8