Merge pull request #18 from ahubers/master

Fixed function ordering and comments in readme/php-riot-api.
added response code tracking and function getLastResponseCode() to return it
updated endpoint for static data to use global endpoint