Merge branch 'master' of github.com:corso-python-prato/share-system-team2
Merge branch 'master' of github.com:corso-python-prato/share-system-team2

Conflicts:
	client/client_cmdmanager.py
	client/test_client_daemon.py
Added login command to client_cmdmanager.py

Signed-off-by: k4rl85 <k4rl85@hotmail.com>
Moved registration and activation in subfunction of _activation_check.

Signed-off-by: k4rl85 <k4rl85@hotmail.com>
Added login to client_daemon.py and connection_manager.py

Signed-off-by: k4rl85 <k4rl85@hotmail.com>
Added login test for client_cmdmanager.

Signed-off-by: k4rl85 <k4rl85@hotmail.com>
Merge branch 'master' of github.com:corso-python-prato/share-system-team2 into login
Removed useless print.
Changed implementation of Class TestDaemonCmdManagerConnection in test_client_daemon.py.
Now the observing is mocked in setUp method and is clarified where is the mocking of communication with cmdmanager.
Enhanced test with more assertion.
Added login test for client_daemon.py.

Signed-off-by: k4rl85 <k4rl85@hotmail.com>
Added test for failed activation in client_daemon.py.
Added some assertion.
Added login test in test_connection_manager.py.
Added check in case user login when enother user is already logged.
Now the request is blocked and error message is sent to client_cmdmanager.py

Signed-off-by: k4rl85 <k4rl85@hotmail.com>
Renamed register and activate function to clarify what they do.
Refactor _activation_check to follow the protocol response structure.
Moved login check in this position to reduce useless control and follow the response protocol structure.
Refactor to follow response protocol.
Modified Shutdown to use the console implementation and print the response from daemon.