add reset command.

inspired by FOS bundle for elastica client.
Merge branch 'hotfix/reset-commands' into develop