Add @method phpdoc for Client

Also add .idea directory to .gitignore
Merge pull request #1 from addshore/phpdoc

Add @method phpdoc for Client