Added a grantType parameter to ClientInterface::getClient()

It allows developer to customize which grant types he allows for which client.  
Typically, password grant type could be restricted to be used only by internal clients.

**/!\ BC compatibility break**, as the prototype of getClient() changes.