Update to new method names in 'MetaProperty'

Two methods of 'MetaProperty' were renamed in master:
* 'annotation' ~> 'annotatins'
* 'declaringClass' ~> 'declaringType'

The implementations and their tests were updated accordingly.