Rewrite vec.contains() to be simpler
Implement new methods vec.starts_with()/vec.ends_with()
Rewrite str.starts_with()/ends_with() to be simpler
rt: add #define's to reduce unnecessary includes from windows.h
std: fix path_is_dir and path_exists on Windows.
std: fix getcwd on Windows. (#9618)
rt: fix rust_localtime on Windows. (#9418)
use _wstat instead of GetFileAttributesW due to failure to check system files.
rt: add comments
std: remove unused consts and an extern function.
add some comments.
Register new snapshots
partially fix immediate rvalues

The code generation previously assumed a reference could not alter the
value in a way the destructor would notice. This is an incorrect
assumption for `&mut`, and is also incorrect for an `&` pointer to a
non-`Freeze` type.

Closes #7972
rm rusti from `Makefile.in`
rustdoc: Don't treat "super" specially for urls

This was just incorrectly handled before, the path component shouldn't be looked
at at all (we used absolute paths everywhere instead of relative to the current
module location).

Closes #9861
std: Move size/align functions to std::mem. #2240
track language changes, improve attr handling in GtkSourceView language-spec

Refactors parsing of numerical literals to make it more readable.
Removes 'float'/the 'f' literal suffix and invalid character literals ''' and '\'.
Also makes attribute highlighting more robust and allows urls in attributes to be recognized.
Move sys::refcount to managed::refcount

More progress on #2240
Handle inline asm outputs as write-only in liveness, borrowck and trans.
Fix starts_with() and ends_with().

d4a32386f3b6 broke these since slice_to() and slice_from() must get character
boundaries, and arbitrary needle lengths don't necessarily map to character
boundaries of the haystack.

This also adds new tests that would have caught this bug.