Create basic module structure

This includes some accidental trailing whitespace deletion in
src/Chorale.hs.
Move general utilities to src/Internal/Utils.hs