Updated the AnnotationsBag.php

I've added:
- the replace method
- the set method
- methods to implements ArrayAccess interface into AnnotationsBag.

I've also added the Unit tests for that too.

Hope you'll like the additions