updated readme.md fixes #360

- code sample now uses the containerPermissions variable
- added java and xml tags