btsync: 1.2.91 -> 1.3.77

This also does some various cleanup on the build process. In particular,
patchelf was not properly setting the rpath so e.g. librt and libm did
not point into glibc inside the Nix store on my Ubuntu system. This
properly sets the library paths on installation.

Also, the download URL for BitTorrent Sync changed, which is incredibly
annoying, because the URL doesn't encode version information. So maybe
this will fail later. :(

(A final note: this also changes the package name from 'btsync-bin' to
just 'btsync', and cleans up some meta attributes.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Merge pull request #2091 from thoughtpolice/btsync

btsync: 1.2.91 -> 1.3.77
haskell-ghc-mod: update to version 4.0.0
haskell-shakespeare-css: update to version 1.0.7.4
haskell-snap-server: update to version 0.9.4.2
haskell-unix-bytestring: update to version 0.3.7.2
haskell-cabal2nix: update to version 1.61
haskell-bytestring-show: update to version 0.3.5.6
haskell-mime-mail: update to version 0.4.5
haskell-http-client: update to version 0.2.3
haskell-tagstream-conduit: update to version 0.5.5.1
haskell-xml-hamlet: update to version 0.4.0.8
haskell-yesod-core: update to version 1.2.10