fixed README.md fixes #360

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