Base conversion for numbers

Added: base-convert function & test cases
This is useful for generating colors in argb (IE8 gradient filter) format, may be useful elsewhere