DXR support
rebased
Fix bytepos_to_file_charpos.

Make bytepos_to_charpos relative to the start of the filemap rather than its previous behaviour which was to be realtive to the start of the codemap, but ignoring multi-byte chars in earlier filemaps. Rename to bytepos_to_file_charpos. Add tests for multi-byte chars.
span bugs
indexes again \o/
lots and lots
bug fixes with spans and fn names
refactored recording
don't screw up around kind bounds on trait object types
fix span bug with enum structs in match arms
fixes for struct enum matching
method call bug hunting
static method call bug fix
Type params/generics

Author: pelmers (new_one)

Index type variables and type params.
Fixed a bug with static method calls
tidy up
Break up analysis into a module