Coding standards

Warning, BC break

* Integrates legacy test suite into CI build
* Fix all CS violations (including on public method names)
* Better switching between GMP and BCMath (removed constant use -- required for testing both modules in one run)