Utilities specs

specs for `ilios.utilities`

bugfix for the `htmlEntities()` double encoding bug (#369)

renamed some methods because someone was confused about arrays, objects, etc.

since I had tests and since some of the code was audibly calling out for it, refactoring occurred. I tried to behave and resist and save refactoring for the next pull request, but sometimes, it just had to happen.