Add prior tests
This MR adds some tests and also does some minor refactoring of the Prior class:
- I removed the obsolete prior files in core as they now live in gw
- I rationalised the repr methods, so all Prior classes now use the repr method in the superclass
- I added an eq method to Prior that can be used in all subclasses
Edited by Moritz Huebner