modified

I have made some changes in Device file and added examples for all types of request. I have also added phpdoc and PHP Toolkit guide. Kindly merge it with original repository.