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