Remove some duplication from align_hash.rb.
Refactor Semicolon.
Extract module ArraySyntax.
Extract module CheckMethods.

Common code for most classes implementing on_def and on_defs.
Extract module CodeLength.
Merge pull request #626 from jonas054/reduce_duplication

Reduce duplication