encoder: Remove a non-UTF-8 symbol from the code

Silences a Visual Studio warning on systems where the symbol is not
in the local code page
config: Add a string copying helper function

Removes the need to add the same code into multiple places
encmain: Make the main function more resilient to allocation failures

Application will no longer crash if config or encoder_control
allocation fails.
config: Make config_alloc() no longer crash if allocation fails
Move initialization away from main()
Add missing new lines to ends of files.
Merge branch 'jeeb-cleanup'

Conflicts:
	src/encoder.c
	src/encoder.h