Updated to compile on Rust master (pre-0.10). Added simple error message in LoadResult. Renamed project file to lib.rs for rustpkg compatibility.