Replaced $_SERVER['server_name'] by new config option.

$_SERVER var is not available in CLI.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Optimized Git config, git commit and push, fixed remote name

Optimized config by checking if remote exists yet, optimized commit nd push by checking git status.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Removed unused commented code

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Refactored log

Added separate error loging.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Added return output to rungitcommand method.

Needed in optimized git config, commit and push methods

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Added methods to get user, team, repo obejcts by name. Added method to delete repo.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Updated keydir paths, using renderKeyFile User object method.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Delete all keys before writing news in writeUsers method

If we rename some user, old name key remains here, which do conflict

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Updated readme

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Merge pull request #3 from feldsam/master

Hi, I added some new methods and optimalizations