For numeric types, handled signs before padding so sign was
right-justified to the number. Also, minor formatting, removed extra
spaces.
Added mocha tests
Revved version.