Add player.dispose() API documentation to api.md