update dependencies, update README with install instructions, use new php-oauth-client API, add PDO example as comment