Add cargo support

This adds cargo support so others can simply add the git repository as a dependency to their project.

Also changed #[crate_id] to #[crate_name] which is now a simple string.