Allow dynamic dictionary-style field access

Allows the doc[key] syntax to work for dynamicembeddeddocument fields

Fixes #559
Added a test for allowing dynamic dictionary-style field access

Closes #559
Merge branch 'pr/562'