Fixed function ordering and comments in readme/php-riot-api. 

Implemented what this [pull request](https://github.com/kevinohashi/php-riot-api/pull/17) attempted to fix. I also added a geLeagueByTeam() function and added comments to both the code and the readme.