added getMethodReflection and remove duplicating reflection parts
added getMethodReflection and remove duplicating reflection parts

KnpLabs/php-github-api,Soullivaneuh/php-github-api,aaronbloomfield/github-api-tools,martinssipenko/php-github-api,acrobat/php-github-api