Add '--in-place' option for "kpm wrap"

parent #964 

Functional tests for `kpm wrap --in-place` will be added after #956 is merged.
Yeah, just pushed that part. Please check the latest commit.