Adds conditional byteswapping intrinsics

These intrinsics are synthesized, so maybe they should be in another
file. But since they are just a single line of code each, based on the
bswap intrinsics and aren't really intended for public consumption (they should be exposed as a
single function / trait) I thought they would fit here.
Classify newtype structs S(T) as immediates if T is an immediate
Fix dereference of temporary immediate newtype structs
Compare values in TreeMap's 'lt' function

Closes #5194
Small documentation changes

I'm leaving the Sized kind undocumented since it isn't fully implemented
yet.
GC static_size_of_enum, which was unused
Fixed documentation for finalize->drop change
Removing the rename warning

Now that the finalize->drop rename has happened, this hopefully
shouldn't end up changing again.
vec: Fix size_hint() of reverse iterators

Fixes #7558
Fix make_mono_id to take into account self types. Closes #7536.
Make privacy checking on default methods for cross crate structs not fail. Closes #7481.

It is unclear to me that the way method call privacy checking is done
makes any sense, though. It is only performed if the type is a
struct...
force LLVM clean
Add x64 windows to platform.mk and mingw64 header fixes.
Merge pull request #7565 from Blei/fix-rev-size-hint

vec: Fix size_hint() of reverse iterators
auto merge of #7543 : sanxiyn/rust/newtype-immediates, r=catamorphism

Fix #6612. Rebase of #6725. Fixed an additional bug and added a test.
auto merge of #7513 : sfackler/rust/master, r=msullivan

The Base64 package previously had extremely basic functionality. It only
suported the standard encoding character set, didn't support line breaks
and always padded output. This commit makes it significantly more
powerful.

The FromBase64 impl now supports all of the standard variants of Base64.
It ignores newlines,interprets '-' and '_' as well as '+' and '/' and
doesn't require padding. It isn't incredibly pedantic and will
successfully parse strings that are not strictly valid, but I don't
think the extra complexity required to make it accept _only_ valid
strings is worth it.

The ToBase64 trait has been modified such that to_base64 now takes a
base64::Config struct which contains the output format configuration.
This currently includes the selection of character set (standard or
url safe), whether or not to pad and an optional line break width. The
package comes with three static Config structs for the RFC 4648
standard, RFC 4648 url safe and RFC 2045 MIME formats.

The other option for configuring ToBase64 output would be to have one
method with the configuration flags passed and other traits with default
impls for the common cases, but I think that's a little messier.

FromBase64 still kills the task if you pass it invalid input, which isn't
particularly appropriate for a function into which you'll be passing
unvalidated input. Would it be worth changing its signature to return a
Result?
auto merge of #7547 : luqmana/rust/mingw64, r=yichoi

Add the x64 windows target to platform.mk and reorder some headers to fix build on mingw64. There are still some issues with building llvm but this gets us one step closer.
auto merge of #7545 : msullivan/rust/default-methods, r=catamorphism

r?
Bring compiletest/rustpkg/driver up to date on std vs core
auto merge of #7549 : sfackler/rust/docs, r=msullivan

I'm leaving the Sized kind undocumented since it isn't fully implemented
yet.