Add dictionary methods

@devoncarew added a new collection to `IDLDeclaredType` that called `functions`. This will collect functions in a declared dictionary. Next step would be to add some way for `ChromeDeclaredType` to contain functions and generate the dart code for those functions.  This PR will partially close https://github.com/dart-gde/chrome_gen.dart/issues/24