Adds new methods into Utils class:

- shorten(String, int) for shortening long strings, and
- join(String[], String) for joining arrays of strings into one string

Also tests for Utils are added. Tests pass for me locally.

I plan to use these methods to simplify logging on several places.