Matlab fixes (rebased onto develop)



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

----

This PR addresses http://trac.openmicroscopy.org.uk/ome/ticket/10805 by
- allowing the following signatures to be used

  ````
getImages(session, 'project' ,[]);
getImages(session, 'dataset' ,[]);
  ````
- allowing to pass objects when retrieving annotations

  ```
getDatasetCommentAnnotations(session, datasets)
getImageXmlAnnotations(session, images)
  ```
  and modifying all the annotations retrieving function headers accordingly