Remove `ast::pure_fn` and all concept of `pure` from the compiler
replaced some 'std::' with 'extra::' in comments
Cleaned up middle a bit.

The only really tricky change is that a long chain of ifs, and elses
was turned into a single if, and a match in astencode.rs. Some methods
can only be called in certain cases, and so have to come after the if.
abi: remove dead code

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
compiletest: Shorten test names
Un-xfail working test
vim/syntax/rust.vim: fix date header

The last change was made in 2013 not 2012.
Merge remote-tracking branch 'cmr/issue/2773' into HEAD
Merge remote-tracking branch 'artagnon/abi-dead-code' into HEAD
Merge remote-tracking branch 'reusee/master' into HEAD
Merge remote-tracking branch 'brson/shorttestnames' into HEAD
Merge remote-tracking branch 'sstewartgallus/cleanup_middle' into incoming
Merge remote-tracking branch 'cmr/various-cleanup' into incoming
rt: add android dummy functions for mman related
Merge remote-tracking branch 'mozilla/master' into incoming

Conflicts:
	src/librustc/middle/astencode.rs
	src/librustc/middle/check_const.rs
rustpkg: Begin allowing package scripts to call the default build logic

rustpkg/api.rs provides functions intended for package scripts to call.
It will probably need more functionality added to it later, but this is
a start.

Added a test case checking that a package script can use the API.

Closes #6401
iterator: Add `IteratorUtil::max_by/min_by` method
.gitmodules: specify submodule.<path>.branch

So --remote can work.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Make ^~~~~ colour dependent on error/warning/note level. Also correct spelling of squigglies.
Refactor extra::term a bit

Move all the colors into a nested mod named color instead of prefixing
with "color_".

Define a new type color::Color, and make this a u16 instead of a u8 (to
allow for easy comparisons against num_colors, which is a u16).

Remove color_supported and replace it with num_colors.

Teach fg() and bg() to "dim" bright colors down to the normal intensity
if num_colors isn't high enough.

Remove unnecessary copies, and fix a bug where a terminfo parse failure
would try to use the wrong error and end up failing.