Annotation test (rebased onto develop)



This is the same as gh-1564 but rebased onto develop.

----

Fix the tests dealing with annotations see https://trac.openmicroscopy.org.uk/ome/ticket/11366

I have also added more tests to handle various group permissions permutations

2 new tests will fail (```rwrw--``` to ```rw----```). They are marked as ```broken```.

To test the PR, run the following command
```
./build.py -f components/tools/OmeroJava/build.xml test -DTEST=integration/chgrp/AnnotationMoveTest
```