Clean gitignore for restructure, ignore Cargo.lock

As per https://github.com/rust-lang/cargo/issues/315, it is advisable to ignore Cargo.lock for libraries.