Add number theory (taking a MathAdaptor) class with polynomial/modulo methods
Tests will follow (no lost bitcoins yet).
Fixing bugs reported by scrutinizer
Fixing typo again
Fix function name in NumberTheory
Add compression and square_root_mod_p sample data
Add tests for $math->mod (both gmp and bcmath)
Test compression & decompression of ECDSA keypairs (Bmath jacobi implementation fails?)
Use functions from maths interface for tests, instead of GMP everywhere
Adhereing to codesniffer rules. Fixing tabs/spaces, and line length.
Tests now run successfully for BcMath and GMP for squareRootModP()
Merge pull request #18 from afk11/restore_squareRootModP

Add number theory (taking a MathAdaptor) class with polynomial/modulo methods
Make gmp functions return strvals each time
Merge remote-tracking branch 'upstream/master' into standardize_gmp
Return int or string for most of the GMP functions, instead of a resource. Added tests to never expect a resource to come from these functions.
See for tests...
Merge pull request #19 from afk11/standardize_gmp

Standardize gmp
Test coverage badge
Merge pull request #20 from Spomky/master

Test coverage badge
Makefile restored
Merge pull request #21 from Spomky/master

Makefile restored
Update README
Update README.md
Code design

* composer.json file:
    * Namespace for tests moved in a dedicated section
* README.md file:
    * HHVM badge added
* src/NumberTheory.php and test:
    * RootSquareException replaced by LogicException
* tests/unit/MathTest.php:
    * ` and ` replaced by ` && `
* src/* and tests/* files:
    * Code design reviewed to be compliant with PSR-1 and PSR-2

Bugs fixed