Add tests for m, implement s
Implement g option for m and s

Also include some more tests, and actually commit the tests and
documentation
Implement %m% and %s% infix functions

Some tests are broken atm