[readme] Fixed markdown formatting
[readme] Added a code example for the retain/released guard