[deriving] cleanning
[deriving] improve error
[deriving] improve error part2
Merge pull request #73 from hhugo/deriving

Deriving: cleaning and better error msgs