Added FormatMilliseconds method

Added a method that will take a number of milliseconds and format a
string. This is used for logging the amount of time taken by various
methods or code. The input number will be the elapsedMilliseconds from a
timer.