Fix cross-thread error handling between gui and everything else

* Create common.py to store enum class and rename_result values.
* Update callback() in gui_main.py to use error code values.
* Update calls to gui_callback() in directoryrenamer to use error codes.
* Update filerename.py to return error codes instead of strings.

Nature: Code Improvement