Move models to common/models

This is a first step toward #635. I hope to make it easier to review the change by splitting the patch into two PRs, as the first PR can contain the renames only and the second one can contain the remaining changes that introduce a lot of whitespace changes.

/to @ritch please review
/cc @raymondfeng @fabien you may want to take a look too