Check if key exists before iterating through dot-notation.

Allowing for array keys to contain "dots" to detect flattened id/value pairs (e.g. used by Symfony's Translation Component).
Merge pull request #645 from cmenke/patch-2

[Bugfix] Re-enable array_get to fetch "flat" array keys containing dots.