updated property access
added tests
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-core into develop_2.0