Corrected comments binding so that comments before local functions and classes are bound to them
Simplified declaration's up/down mover because it does not need to attach comments to declaration manually anymore