Fix bug (Ticket 5)

Add a new getSleepPlayer with String parameter.
Fix bug in TaskQuitPlayer when getSleepPlayer return null because player
is null.