[WIP] BayesMSM

- [x] Move around some imports and stuff so that MSM and BayesMSM can share the appropriate code without copy-paste.
- [x] Implement sampling.

Note that moving `markovstatemodel` to be a subpackage, as currently implemented, doesn't change the public API (imports) at all.