Add workaround for code that replaces f_locals with a non-dict.
Merge pull request #51 from mdickinson/enaml-workaround

Add workaround for code that replaces f_locals with a non-dict.