Merge pull request #21 from zsiciarz/master

Use as_bytes() for string indexing.
Add travis support
Merge pull request #23 from japaric/travis

Add travis support
bring ast.rs up to date with nightly build
codeiter.rs - handle macro-rules! definitions
Search up the directory structure for crate roots

 - not as good as it could be. currently searches for lib.rs or main.rs.
   - ideally it would hunt any .rs files for a main fn.
Handle case where mod foo; is nested in inline mods

e.g.

   mod submod { mod submod2 { mod foo; } }

means that the module source is in submod/submod2/foo.rs

(code needs cleaning up a bit, but kids want to go to park now!)
move resolve.rs->typeinference.rs
Add Cargo.toml
Moved a bunch of stuff out of mod.rs into nameres.rs and typeinf.rs
Merge pull request #24 from ebfe/cargo

Add cargo support
refactor to remove 'search_for_path'
small refactoring - pull out matchers into separate functions
small refactoring: remove search_local_text
ToStr::to_str -> ToString::to_string
Merge pull request #26 from ebfe/fix-build-master

Fix build with rust master
Move matchers out to own module and experiment with iterator chaining
Seperate searching type and value namespaces.
oops, forgot to add matchers.rs. Also fix over-zealous namespace restriction for path exprs
Cross-borrowing no longer works