Changed crop functionality slightly, inspired by asechrest's unittest.
Added unittests for utils.py dedent() and list_to_string(). Adjusted list_to_string to correctly handle no endsep.