Reorganize the static functions to domain to string convertion
Tests and implementation of rejecting invalid GURPS dice notations