pattern matching added to kotlin's when construction
Merge pull request #27 from vapolyakov/master

Pattern matching in kotlin's when construction