Definition[Ref]: add move constructor and move assignment operator
The relatively expensive copying (in place of cheap moving) of Definition
became a bottleneck during the optimization of my WildcardMatcher
reimplementation.
See the commit messages for details.
Edited by Igor Kushnir