Optimized our String/number conversions a bit. Also moved all
String-related util functions from Misc.java to StringUtils.java