change Declaration.kind to Declaration.type (but keep compatibility)
Merge pull request #11 from shapesecurity/declaration-type

change Declaration.kind to Declaration.type