Add clean support

--clean is useful to reset to a clean repo. It is very dangerous that
could reset the local changes.
Merge pull request #5 from halton/master

Add clean support