Automated fixes to follow Rust development

Applied fixes:
	*priv attribute removal
	*attribute fix (cf mozilla/rust#2569)
Merge pull request #33 from Geal/rustfix-0hriW

Automated fixes to follow Rust development