Ssh keys (refactoring and tests)

* refactoring mcollective ssh keys part;
* refactoring astute ssh keys part;
* add tests for astute ssh keys part.