Issue #360: README.md code sample confusion

Issue #360 

- code sample now uses containerPermissions variable
- added java and xml tags for syntax highlighting