Clean-up in DeclarationNode.cc. Made all buildList loops the same. The ast::Decl function also got some restructuring, mostly moving code around and into helpers.