make shootout-k-nucleotide.rs pass official test

Correct printing (sort, new lines), reading on stdin, s/i32/uint/,
ignore-android because it reads stdin
mk: Don't touch config.tmp or tmp/dist as root. Closes #13190

When running `make install` we are touching these files that can't
then be removed later.
auto merge of #13219 : brson/rust/dist-root, r=sfackler
dist: Add libbacktrace to source tarballs
mk: distcheck --uninstall
Rename `from_iterator` to `from_iter` for consistency.
vec: convert `append` and `append_one` to methods

These were only free functions on `~[T]` because taking self by-value
used to be broken.
auto merge of #13206 : TeXitoi/rust/fix-shootout-k-nucleotide, r=alexcrichton

Correct printing (sort, new lines), reading on stdin.
mk: Workaround distcheck failure on mac. #13224

Mac can't actually build our source tarballs because it's `tar`
command doesn't support the --exclude-vcs flag. This is just
a workaround to make our mac nightlies work (we get our source
tarballs from the linux bot).
auto merge of #13220 : brson/rust/from_iter, r=thestinger
auto merge of #13221 : thestinger/rust/append, r=alexcrichton

These were only free functions on `~[T]` because taking self by-value
used to be broken.
auto merge of #13223 : brson/rust/dist, r=alexcrichton
Json doesn't need to depend on IoError to implement Encodable #13230
auto merge of #13230 : Kroisse/rust/encodable-json, r=erickt

The implementation of `Encodable<E, S>` for `Json` doesn't need to assume `S` to be `IoError`, only the default encoders for `Json` are depend on it. So this can be parametrize to increase flexiblity. If not, types that implement `Encoder<E>` where `E` is not `IoError` can't be worked with `Json`.
rustc: Switch struct fields to private by default

This commit switches privacy's checking of fields to have *all* fields be
private by default. This does not yet change tuple structs, this only affects
structs with named fields. The fallout of this change will follow shortly.

RFC: 0004-private-fields

cc #8122
Closes #11809
std: Switch field privacy as necessary
collections: Switch field privacy as necessary
getopts: Switch field privacy as necessary
native: Switch field privacy as necessary
rand: Switch field privacy as necessary