Refactored type_id(value,type) using pattern matching.
Refactored match_type_id using pattern matching.
Refactored codegen_cond using pattern matching.
Merge branch 'master' of https://github.com/manastech/crystal into refactors
Merge pull request #141 from nekron/refactors

Codegen refactor using pattern matching.